From cb75a155b67942d32b808031199a7c947098e1e6 Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Fri, 11 Dec 2020 01:31:30 +0100 Subject: Deprecate -cipher-commands and -digest-commands options Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/13669) --- apps/list.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/list.c b/apps/list.c index 20973298a8..cf63394107 100644 --- a/apps/list.c +++ b/apps/list.c @@ -1295,8 +1295,10 @@ const OPTIONS list_options[] = { {"select", OPT_SELECT_NAME, 's', "Select a single algorithm"}, {"commands", OPT_COMMANDS, '-', "List of standard commands"}, {"standard-commands", OPT_COMMANDS, '-', "List of standard commands"}, +#ifndef OPENSSL_NO_DEPRECATED_3_0 {"digest-commands", OPT_DIGEST_COMMANDS, '-', - "List of message digest commands"}, + "List of message digest commands (deprecated)"}, +#endif {"digest-algorithms", OPT_DIGEST_ALGORITHMS, '-', "List of message digest algorithms"}, {"kdf-algorithms", OPT_KDF_ALGORITHMS, '-', @@ -1307,7 +1309,10 @@ const OPTIONS list_options[] = { "List of random number generators"}, {"mac-algorithms", OPT_MAC_ALGORITHMS, '-', "List of message authentication code algorithms"}, - {"cipher-commands", OPT_CIPHER_COMMANDS, '-', "List of cipher commands"}, +#ifndef OPENSSL_NO_DEPRECATED_3_0 + {"cipher-commands", OPT_CIPHER_COMMANDS, '-', + "List of cipher commands (deprecated)"}, +#endif {"cipher-algorithms", OPT_CIPHER_ALGORITHMS, '-', "List of cipher algorithms"}, {"encoders", OPT_ENCODERS, '-', "List of encoding methods" }, -- cgit v1.2.3