additional case for CID 330392 and 330401

This commit is contained in:
JacobBarthelmeh 2023-10-27 16:34:04 -06:00
parent 688b94cad2
commit c3ed45d331

View File

@ -36778,7 +36778,7 @@ int wolfSSL_PEM_write_bio_PKCS7(WOLFSSL_BIO* bio, PKCS7* p7)
hashType = wc_OidGetHash(p7->hashOID);
hashSz = wc_HashGetDigestSize(hashType);
if (hashSz > WC_MAX_DIGEST_SIZE)
return WOLFSSL_FAILURE;
goto error;
/* only SIGNED_DATA is supported */
switch (p7->contentOID) {