1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpgsm: Increase salt size in pkcs#12 parser.

* sm/minip12.c (parse_bag_encrypted_data): Need 32 bytes.
--

GnuPG-bug-id: 6757
This commit is contained in:
Werner Koch 2024-02-05 07:59:02 +01:00
parent 375c3a238a
commit 214d3ffe0f
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -677,7 +677,7 @@ parse_bag_encrypted_data (struct p12_parse_ctx_s *ctx, tlv_parser_t tlv)
const unsigned char *data;
size_t datalen;
int intval;
char salt[20];
char salt[32];
size_t saltlen;
char iv[16];
unsigned int iter;