mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Store more certs in PKCS7 struct
This commit is contained in:
@ -25188,7 +25188,12 @@ int wolfSSL_X509_verify_cert(WOLFSSL_X509_STORE_CTX* ctx)
|
||||
ctx->store->verify_cb(0, ctx);
|
||||
#endif
|
||||
}
|
||||
return ret;
|
||||
|
||||
/* OpenSSL returns 0 when a chain can't be built */
|
||||
if (ret == ASN_NO_SIGNER_E)
|
||||
return WOLFSSL_FAILURE;
|
||||
else
|
||||
return ret;
|
||||
}
|
||||
return WOLFSSL_FATAL_ERROR;
|
||||
}
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
/* Max number of certificates that PKCS7 structure can parse */
|
||||
#ifndef MAX_PKCS7_CERTS
|
||||
#define MAX_PKCS7_CERTS 4
|
||||
#define MAX_PKCS7_CERTS 15
|
||||
#endif
|
||||
|
||||
#ifndef MAX_ORI_TYPE_SZ
|
||||
|
Reference in New Issue
Block a user