diff options
author | Werner Koch <[email protected]> | 2024-02-05 06:59:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-02-05 06:59:02 +0000 |
commit | cbe0956df0f99ea6740838a19ac9782ed126a180 (patch) | |
tree | 63a418e6618db95853bc11ae800e19ed6bbc0c8d | |
parent | scd:openpgp: Allow PIN length of 6 also with a reset code. (diff) | |
download | gnupg-cbe0956df0f99ea6740838a19ac9782ed126a180.tar.gz gnupg-cbe0956df0f99ea6740838a19ac9782ed126a180.zip |
gpgsm: Increase salt size in pkcs#12 parser.
* sm/minip12.c (parse_bag_encrypted_data): Need 32 bytes.
--
GnuPG-bug-id: 6757
-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 84f5dbecb..2e60edf68 100644 --- a/sm/minip12.c +++ b/sm/minip12.c @@ -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; |