diff options
author | Arne Schwabe <arne@rfc2549.org> | 2022-07-28 16:51:58 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-08-01 11:54:36 +0200 |
commit | 72a85c17aae602e881c917c3f6e93bd7f7260093 (patch) | |
tree | 78c9e6b524cd5b2e2fa0639e61d7652109927abb /apps | |
parent | df1e33bc8ae67573a3f3488eff82e02fc0310203 (diff) |
Fix wrong default algorithm in openssl pkcs12 help
The default that pkcs12 -export uses is SHA256 and not SHA1.
CLA: Trivial
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18904)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pkcs12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 645e30e72f..0338ff30d6 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -144,7 +144,7 @@ const OPTIONS pkcs12_options[] = { "Encrypt output with 3DES (default PBES2 with PBKDF2 and AES-256 CBC)"}, #endif {"macalg", OPT_MACALG, 's', - "Digest algorithm to use in MAC (default SHA1)"}, + "Digest algorithm to use in MAC (default SHA256)"}, {"iter", OPT_ITER, 'p', "Specify the iteration count for encryption and MAC"}, {"noiter", OPT_NOITER, '-', "Don't use encryption iteration"}, {"nomaciter", OPT_NOMACITER, '-', "Don't use MAC iteration)"}, |