diff options
author | Pauli <paul.dale@oracle.com> | 2020-02-05 11:27:23 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-12 08:52:42 +1000 |
commit | c2ec4a16f79cec06b5449bd8728f2e03fa16e22b (patch) | |
tree | dc260aaa0c35bc83dd82f4e2d00ce38f1742b5d5 /apps/include/function.h | |
parent | 343f0e4a8182ca5c07d9c527f6d681c4109c0700 (diff) |
app: add a deprecation warning to all deprecated commands.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10977)
Diffstat (limited to 'apps/include/function.h')
-rw-r--r-- | apps/include/function.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/include/function.h b/apps/include/function.h index 1911a64947..28eb3e5d1c 100644 --- a/apps/include/function.h +++ b/apps/include/function.h @@ -13,6 +13,8 @@ # include <openssl/lhash.h> # include "opt.h" +#define DEPRECATED_NO_ALTERNATIVE "unknown" + typedef enum FUNC_TYPE { FT_none, FT_general, FT_md, FT_cipher, FT_pkey, FT_md_alg, FT_cipher_alg @@ -23,6 +25,7 @@ typedef struct function_st { const char *name; int (*func)(int argc, char *argv[]); const OPTIONS *help; + const char *deprecated_alternative; } FUNCTION; DEFINE_LHASH_OF(FUNCTION); |