mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 03:07:29 +02:00
added missing wolfSSL_X509_NAME_free(dName)
This commit is contained in:
@ -14003,6 +14003,10 @@ static int GetCertName(DecodedCert* cert, char* full, byte* hash, int nameType,
|
|||||||
" found");
|
" found");
|
||||||
WOLFSSL_MSG("Use WOLFSSL_NO_ASN_STRICT if wanting to allow"
|
WOLFSSL_MSG("Use WOLFSSL_NO_ASN_STRICT if wanting to allow"
|
||||||
" empty DirectoryString's");
|
" empty DirectoryString's");
|
||||||
|
#if (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) && \
|
||||||
|
!defined(WOLFCRYPT_ONLY)
|
||||||
|
wolfSSL_X509_NAME_free(dName);
|
||||||
|
#endif /* OPENSSL_EXTRA */
|
||||||
return ASN_PARSE_E;
|
return ASN_PARSE_E;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user