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:
parent
375c3a238a
commit
214d3ffe0f
@ -677,7 +677,7 @@ parse_bag_encrypted_data (struct p12_parse_ctx_s *ctx, tlv_parser_t tlv)
|
|||||||
const unsigned char *data;
|
const unsigned char *data;
|
||||||
size_t datalen;
|
size_t datalen;
|
||||||
int intval;
|
int intval;
|
||||||
char salt[20];
|
char salt[32];
|
||||||
size_t saltlen;
|
size_t saltlen;
|
||||||
char iv[16];
|
char iv[16];
|
||||||
unsigned int iter;
|
unsigned int iter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user