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 ce69c103f4
commit cbe0956df0
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1400,7 +1400,7 @@ parse_bag_encrypted_data (struct p12_parse_ctx_s *ctx, struct tlv_ctx_s *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;