Skip to content

Commit c3ed45d

Browse files
additional case for CID 330392 and 330401
1 parent 688b94c commit c3ed45d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36778,7 +36778,7 @@ int wolfSSL_PEM_write_bio_PKCS7(WOLFSSL_BIO* bio, PKCS7* p7)
3677836778
hashType = wc_OidGetHash(p7->hashOID);
3677936779
hashSz = wc_HashGetDigestSize(hashType);
3678036780
if (hashSz > WC_MAX_DIGEST_SIZE)
36781-
return WOLFSSL_FAILURE;
36781+
goto error;
3678236782

3678336783
/* only SIGNED_DATA is supported */
3678436784
switch (p7->contentOID) {

0 commit comments

Comments
 (0)