From 893b71e8c17e0edbeef41b2e7383f792eda39683 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 30 Jun 2021 19:54:25 +0700 Subject: [PATCH] remove dead code --- wolfcrypt/src/pkcs7.c | 1 - 1 file changed, 1 deletion(-) diff --git a/wolfcrypt/src/pkcs7.c b/wolfcrypt/src/pkcs7.c index 9dc632f28..3a51b04a5 100644 --- a/wolfcrypt/src/pkcs7.c +++ b/wolfcrypt/src/pkcs7.c @@ -4375,7 +4375,6 @@ static int PKCS7_VerifySignedData(PKCS7* pkcs7, const byte* hashBuf, if ((ret = wc_PKCS7_SetMaxStream(pkcs7, in, inSz)) != 0) { break; } - rc = (pkcs7->stream->length > 0)? pkcs7->stream->length: inSz; #endif #else ret = BER_INDEF_E;