Fixed CID 587348 and CID 587349.

This commit is contained in:
Radim Smat 2021-03-04 11:08:25 +01:00
parent 86b5434dcc
commit dbaf545694

View File

@ -9552,6 +9552,7 @@ int wolfSSL_X509_get_ext_by_NID(const WOLFSSL_X509* x509, int nid, int lastPos)
CA_TYPE,
NO_VERIFY, NULL) < 0) {
WOLFSSL_MSG("\tCertificate parsing failed");
FreeDecodedCert(&cert);
return WOLFSSL_FATAL_ERROR;
}