mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 03:07:29 +02:00
additional case for CID 330392 and 330401
This commit is contained in:
@ -36778,7 +36778,7 @@ int wolfSSL_PEM_write_bio_PKCS7(WOLFSSL_BIO* bio, PKCS7* p7)
|
|||||||
hashType = wc_OidGetHash(p7->hashOID);
|
hashType = wc_OidGetHash(p7->hashOID);
|
||||||
hashSz = wc_HashGetDigestSize(hashType);
|
hashSz = wc_HashGetDigestSize(hashType);
|
||||||
if (hashSz > WC_MAX_DIGEST_SIZE)
|
if (hashSz > WC_MAX_DIGEST_SIZE)
|
||||||
return WOLFSSL_FAILURE;
|
goto error;
|
||||||
|
|
||||||
/* only SIGNED_DATA is supported */
|
/* only SIGNED_DATA is supported */
|
||||||
switch (p7->contentOID) {
|
switch (p7->contentOID) {
|
||||||
|
Reference in New Issue
Block a user