mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 13:32:13 +01:00
Fix issue with X509 reference counter with --enable-opensslextra=x509small or OPENSSL_EXTRA_X509_SMALL. Thank you Mohre.
This commit is contained in:
@@ -4849,7 +4849,7 @@ void FreeX509(WOLFSSL_X509* x509)
|
||||
}
|
||||
#endif /* WOLFSSL_DUAL_ALG_CERTS */
|
||||
|
||||
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_ALL)
|
||||
#if defined(OPENSSL_EXTRA_X509_SMALL) || defined(OPENSSL_EXTRA)
|
||||
wolfSSL_RefFree(&x509->ref);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user