mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-08 17:20:55 +02:00
Merge pull request #3869 from SparkiDev/asn1_template
ASN1 Template: stricter and simpler DER/BER parsing/construction
This commit is contained in:
+12499
-1212
File diff suppressed because it is too large
Load Diff
@@ -4314,8 +4314,8 @@ static int wc_PKCS7_ParseSignerInfo(PKCS7* pkcs7, byte* in, word32 inSz,
|
||||
idx += length;
|
||||
}
|
||||
|
||||
/* Get digestEncryptionAlgorithm */
|
||||
if (ret == 0 && GetAlgoId(in, &idx, &sigOID, oidSigType, inSz) < 0) {
|
||||
/* Get digestEncryptionAlgorithm - key type or signature type */
|
||||
if (ret == 0 && GetAlgoId(in, &idx, &sigOID, oidIgnoreType, inSz) < 0) {
|
||||
ret = ASN_PARSE_E;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user