remove dead code, variable gn will currently always be null

This commit is contained in:
Jacob Barthelmeh
2021-04-07 20:56:50 +07:00
parent 6b46669641
commit f16136c29b

View File

@ -10128,13 +10128,6 @@ void* wolfSSL_X509_get_ext_d2i(const WOLFSSL_X509* x509, int nid, int* c,
goto err;
}
}
else if (gn) {
if (wolfSSL_sk_GENERAL_NAME_push(sk, gn) != WOLFSSL_SUCCESS) {
WOLFSSL_MSG("Error pushing GENERAL_NAME object onto "
"stack.");
goto err;
}
}
ret = sk;