forked from wolfSSL/wolfssl
fixed jenkins failure
This commit is contained in:
@@ -1821,8 +1821,9 @@ int InitSSL_Ctx(WOLFSSL_CTX* ctx, WOLFSSL_METHOD* method, void* heap)
|
|||||||
}
|
}
|
||||||
XMEMSET(ctx->param, 0, sizeof(WOLFSSL_X509_VERIFY_PARAM));
|
XMEMSET(ctx->param, 0, sizeof(WOLFSSL_X509_VERIFY_PARAM));
|
||||||
/* WOLFSS_X509_LOOKUP */
|
/* WOLFSS_X509_LOOKUP */
|
||||||
if ((ctx->x509_store.lookup.dirs = (WOLFSSL_BY_DIR*)XMALLOC(sizeof(WOLFSSL_BY_DIR),
|
if ((ctx->x509_store.lookup.dirs =
|
||||||
ctx->heap, DYNAMIC_TYPE_OPENSSL)) == NULL) {
|
(WOLFSSL_BY_DIR*)XMALLOC(sizeof(WOLFSSL_BY_DIR),
|
||||||
|
heap, DYNAMIC_TYPE_OPENSSL)) == NULL) {
|
||||||
WOLFSSL_MSG("ctx-x509_store.lookup.dir memory allocation error");
|
WOLFSSL_MSG("ctx-x509_store.lookup.dir memory allocation error");
|
||||||
return MEMORY_E;
|
return MEMORY_E;
|
||||||
}
|
}
|
||||||
|
@@ -24979,6 +24979,7 @@ int wolfSSL_X509_LOOKUP_ctrl(WOLFSSL_X509_LOOKUP *ctx, int cmd,
|
|||||||
(void)argl;
|
(void)argl;
|
||||||
(void)ret;
|
(void)ret;
|
||||||
(void)cmd;
|
(void)cmd;
|
||||||
|
(void)x509AddCertDir;
|
||||||
lret = WOLFSSL_NOT_IMPLEMENTED;
|
lret = WOLFSSL_NOT_IMPLEMENTED;
|
||||||
#endif
|
#endif
|
||||||
return lret;
|
return lret;
|
||||||
|
Reference in New Issue
Block a user