diff options
author | Werner Koch <[email protected]> | 2024-10-01 10:36:16 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-10-01 10:41:03 +0000 |
commit | 41626a16613a042e7ba2ec65420a41e63ede1f69 (patch) | |
tree | 9817cdb9598ac7c6f15797c27565fdcf000b1439 | |
parent | gpgconf: Allow listing of some new options (diff) | |
download | gnupg-41626a16613a042e7ba2ec65420a41e63ede1f69.tar.gz gnupg-41626a16613a042e7ba2ec65420a41e63ede1f69.zip |
gpgsm: Possible improvement for some rare P12 files.
* sm/minip12.c (parse_shrouded_key_bag): Increase size of salt buffer.
--
Reported on the mailing list. The change does not seem to have a big
regression risk, thus applied. See below for the mail
# ------------------------ >8 ------------------------
https://lists.gnupg.org/pipermail/gnupg-users/2024-September/067312.html
-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 397c0f531..ac82755a6 100644 --- a/sm/minip12.c +++ b/sm/minip12.c @@ -1245,7 +1245,7 @@ parse_shrouded_key_bag (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; |