forked from wolfSSL/wolfssl
Modify pkcs8 pbe encryption to use indefinite length encoding, making it consistent with both old ASN code and openssl
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user