Merge pull request #3949 from JacobBarthelmeh/StaticAnalysisTests

remove dead code, variable gn will currently always be null
This commit is contained in:
toddouska
2021-04-12 10:26:02 -07:00
committed by GitHub

View File

@ -10130,13 +10130,6 @@ void* wolfSSL_X509_get_ext_d2i(const WOLFSSL_X509* x509, int nid, int* c,
goto err; 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; ret = sk;