From: Dmitry Belyavskiy Date: Fri, 11 Dec 2020 00:31:30 +0000 (+0100) Subject: Deprecate -cipher-commands and -digest-commands options X-Git-Tag: openssl-3.0.0-alpha10~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb75a155b67942d32b808031199a7c947098e1e6;p=thirdparty%2Fopenssl.git Deprecate -cipher-commands and -digest-commands options Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/13669) --- diff --git a/apps/list.c b/apps/list.c index 20973298a86..cf63394107d 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" },