summaryrefslogtreecommitdiffstats
path: root/apps/enc.c
diff options
context:
space:
mode:
authoragnosticdev <agnosticdev@gmail.com>2019-09-16 07:09:01 -0500
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-10-18 22:14:41 +0200
commitf62d67b6ab5b16d6ca9d76251432701dba299ba8 (patch)
treea70366549270eb6021ed9fa221bfc07defa5faaa /apps/enc.c
parent5bd7865da004213dd978b65ef998a29a78916d21 (diff)
Update dgst.c to show a list of message digests
Fixes #9893 Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/9912)
Diffstat (limited to 'apps/enc.c')
-rw-r--r--apps/enc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/enc.c b/apps/enc.c
index d2505639e0..611d0536bc 100644
--- a/apps/enc.c
+++ b/apps/enc.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -50,7 +50,10 @@ typedef enum OPTION_choice {
const OPTIONS enc_options[] = {
{"help", OPT_HELP, '-', "Display this summary"},
- {"ciphers", OPT_LIST, '-', "List ciphers"},
+ {"list", OPT_LIST, '-', "List ciphers"},
+#if !OPENSSL_API_3
+ {"ciphers", OPT_LIST, '-', "Alias for -list"},
+#endif
{"in", OPT_IN, '<', "Input file"},
{"out", OPT_OUT, '>', "Output file"},
{"pass", OPT_PASS, 's', "Passphrase source"},