mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-31 13:29:16 +01:00
Add link of newly created x509 store's certificate manager to self by default
This commit is contained in:
@@ -736,6 +736,10 @@ WOLFSSL_X509_STORE* wolfSSL_X509_STORE_new(void)
|
||||
#endif
|
||||
|
||||
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_WPAS_SMALL)
|
||||
|
||||
/* Link store's new Certificate Manager to self by default */
|
||||
store->cm->x509_store_p = store;
|
||||
|
||||
if ((store->param = (WOLFSSL_X509_VERIFY_PARAM*)XMALLOC(
|
||||
sizeof(WOLFSSL_X509_VERIFY_PARAM),
|
||||
NULL, DYNAMIC_TYPE_OPENSSL)) == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user