mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Fix missing free
This commit is contained in:
@ -23414,9 +23414,9 @@ static void test_wolfSSL_certs(void)
|
|||||||
#ifdef OPENSSL_ALL
|
#ifdef OPENSSL_ALL
|
||||||
ext = X509V3_EXT_i2d(NID_authority_key_identifier, crit, akey);
|
ext = X509V3_EXT_i2d(NID_authority_key_identifier, crit, akey);
|
||||||
AssertNotNull(ext);
|
AssertNotNull(ext);
|
||||||
wolfSSL_AUTHORITY_KEYID_free(akey);
|
|
||||||
X509_EXTENSION_free(ext);
|
X509_EXTENSION_free(ext);
|
||||||
#endif
|
#endif
|
||||||
|
wolfSSL_AUTHORITY_KEYID_free(akey);
|
||||||
|
|
||||||
sk = (STACK_OF(ASN1_OBJECT)*)X509_get_ext_d2i(x509ext,
|
sk = (STACK_OF(ASN1_OBJECT)*)X509_get_ext_d2i(x509ext,
|
||||||
NID_private_key_usage_period, &crit, NULL);
|
NID_private_key_usage_period, &crit, NULL);
|
||||||
|
Reference in New Issue
Block a user