Skip to content

Commit

Permalink
Modify pkcs8 pbe encryption to use indefinite length encoding, making…
Browse files Browse the repository at this point in the history
… it consistent with both old ASN code and openssl
  • Loading branch information
ColtonWilley committed Sep 11, 2024
1 parent 1c8f1e6 commit 88d1ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -9156,7 +9156,7 @@ static const ASNItem p8EncPbes1ASN[] = {
/* ENCALGO_PBEPARAM_SALT */ { 3, ASN_OCTET_STRING, 0, 0, 0 },
/* Iteration Count */
/* ENCALGO_PBEPARAM_ITER */ { 3, ASN_INTEGER, 0, 0, 0 },
/* ENCDATA */ { 1, ASN_OCTET_STRING, 0, 0, 0 },
/* ENCDATA */ { 1, ASN_INDEF_LENGTH, 0, 0, 0 },
};
enum {
P8ENCPBES1ASN_IDX_SEQ = 0,
Expand Down

0 comments on commit 88d1ed7

Please sign in to comment.