Skip to content

Commit b0ddccc

Browse files
committed
Change PKCS7 encrypted content encoding to use ASN_CONTEXT_SPECIFIC
1 parent 88d1ed7 commit b0ddccc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/asn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9156,7 +9156,7 @@ static const ASNItem p8EncPbes1ASN[] = {
91569156
/* ENCALGO_PBEPARAM_SALT */ { 3, ASN_OCTET_STRING, 0, 0, 0 },
91579157
/* Iteration Count */
91589158
/* ENCALGO_PBEPARAM_ITER */ { 3, ASN_INTEGER, 0, 0, 0 },
9159-
/* ENCDATA */ { 1, ASN_INDEF_LENGTH, 0, 0, 0 },
9159+
/* ENCDATA */ { 1, (ASN_CONTEXT_SPECIFIC | 0), 0, 0, 0 },
91609160
};
91619161
enum {
91629162
P8ENCPBES1ASN_IDX_SEQ = 0,

0 commit comments

Comments
 (0)