Skip to content

Commit 7bf63e9

Browse files
committed
Remove now useless check
1 parent 807214d commit 7bf63e9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

wolfcrypt/src/evp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4319,7 +4319,6 @@ int wolfSSL_EVP_SignFinal(WOLFSSL_EVP_MD_CTX *ctx, unsigned char *sigret,
43194319
int bytes;
43204320
bytes = wolfSSL_BN_num_bytes(pkey->dsa->q);
43214321
if (bytes == WC_NO_ERR_TRACE(WOLFSSL_FAILURE) ||
4322-
bytes > DSA_MAX_HALF_SIZE ||
43234322
bytes * 2 > (int)*siglen)
43244323
{
43254324
return WOLFSSL_FAILURE;

0 commit comments

Comments
 (0)