summaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
diff options
context:
space:
mode:
authorMarco Abbadini <39488007+marcoabbadini@users.noreply.github.com>2023-05-16 23:52:53 +0200
committerTomas Mraz <tomas@openssl.org>2023-05-18 13:25:28 +0200
commit26cf0767a71743de00cd20f90526052358d67d03 (patch)
tree7195bf964156acc2ba6b43935deb6d8898d0855b /apps/pkcs12.c
parent95d3c148ca3818a8773f293e9a886a3ec4185353 (diff)
pkcs12: Fix macsaltlen parameter type
It expects an integer so change it from non-argument type to positive integer type. Fixes #20969 CLA: trivial Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20979)
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r--apps/pkcs12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index 0c39ed79bd..4f2d3f7f2e 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -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}
};