Skip to content

Commit

Permalink
pkcs12: Fix macsaltlen parameter type
Browse files Browse the repository at this point in the history
It expects an integer so change it from non-argument type to positive integer type.

Fixes openssl#20969

CLA: trivial

Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#20979)
  • Loading branch information
marcoabbadini authored and t8m committed May 18, 2023
1 parent 95d3c14 commit 26cf076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/pkcs12.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const OPTIONS pkcs12_options[] = {
{"noiter", OPT_NOITER, '-', "Don't use encryption iteration"},
{"nomaciter", OPT_NOMACITER, '-', "Don't use MAC iteration)"},
{"maciter", OPT_MACITER, '-', "Unused, kept for backwards compatibility"},
{"macsaltlen", OPT_MACSALTLEN, '-', "Specify the salt len for MAC"},
{"macsaltlen", OPT_MACSALTLEN, 'p', "Specify the salt len for MAC"},
{"nomac", OPT_NOMAC, '-', "Don't generate MAC"},
{NULL}
};
Expand Down

0 comments on commit 26cf076

Please sign in to comment.