diff options
author | Werner Koch <wk@gnupg.org> | 2024-02-05 07:59:02 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-02-05 08:00:20 +0100 |
commit | 214d3ffe0f91b1a4ce11a278289fedef18323bb1 (patch) | |
tree | b920a82f8ae6b8c471e21d0f7cc7051f60f0f4f0 /sm | |
parent | gpgsm: cleanup on error paths (diff) | |
download | gnupg2-214d3ffe0f91b1a4ce11a278289fedef18323bb1.tar.xz gnupg2-214d3ffe0f91b1a4ce11a278289fedef18323bb1.zip |
gpgsm: Increase salt size in pkcs#12 parser.
* sm/minip12.c (parse_bag_encrypted_data): Need 32 bytes.
--
GnuPG-bug-id: 6757
Diffstat (limited to '')
-rw-r--r-- | sm/minip12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/minip12.c b/sm/minip12.c index 84a5f423c..4a1fab050 100644 --- a/sm/minip12.c +++ b/sm/minip12.c @@ -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; |