From a0955f8221254e6cb29c122b56b9715951ed94a1 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 29 Oct 2019 16:47:30 -0600 Subject: [PATCH] fix for pkcs7 verify streaming --- wolfcrypt/src/pkcs7.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wolfcrypt/src/pkcs7.c b/wolfcrypt/src/pkcs7.c index 96c4e7048..89051308a 100644 --- a/wolfcrypt/src/pkcs7.c +++ b/wolfcrypt/src/pkcs7.c @@ -4818,6 +4818,7 @@ static int PKCS7_VerifySignedData(PKCS7* pkcs7, const byte* hashBuf, ret = BUFFER_E; break; } + stateIdx = idx; #endif /* set contentType and size after init of PKCS7 structure */