mirror of
git://git.gnupg.org/gnupg.git
synced 2024-10-30 19:58:44 +01:00
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
This commit is contained in:
parent
f1e1cb0767
commit
41626a1661
@ -1245,7 +1245,7 @@ parse_shrouded_key_bag (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…
Reference in New Issue
Block a user