mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +02:00
adjust inSz with BER PKCS7 parsing
This commit is contained in:
@@ -10192,7 +10192,7 @@ static int wc_PKCS7_ParseToRecipientInfoSet(PKCS7* pkcs7, byte* in,
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
pkiMsg = in = pkcs7->der;
|
pkiMsg = in = pkcs7->der;
|
||||||
pkiMsgSz = pkcs7->derSz = len;
|
pkiMsgSz = pkcs7->derSz = inSz = len;
|
||||||
*idx = 0;
|
*idx = 0;
|
||||||
|
|
||||||
if (GetSequence(pkiMsg, idx, &length, pkiMsgSz) < 0)
|
if (GetSequence(pkiMsg, idx, &length, pkiMsgSz) < 0)
|
||||||
|
Reference in New Issue
Block a user