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;