diff options
author | Pauli <paul.dale@oracle.com> | 2020-02-06 23:09:53 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-11 23:52:42 +0100 |
commit | 1ddf2594e18137aeb7ce861e54f46824db76e36f (patch) | |
tree | e3dba8a2ebf5bcde9e10242c9af842b2f36d6f8a /apps/gendsa.c | |
parent | app: add a deprecation warning to all deprecated commands. (diff) | |
download | openssl-1ddf2594e18137aeb7ce861e54f46824db76e36f.tar.xz openssl-1ddf2594e18137aeb7ce861e54f46824db76e36f.zip |
dsa: deprecate applications that depend on the low level DSA functions.
speed is updated to not support DSA instead of being removed.
The dhparam, dsaparam, dsa and gendsa commands are deprecated but still
exist without NO_DEPRECATED defined.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10977)
Diffstat (limited to 'apps/gendsa.c')
-rw-r--r-- | apps/gendsa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gendsa.c b/apps/gendsa.c index 12806ef2dd..686168c692 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c @@ -7,8 +7,11 @@ * https://www.openssl.org/source/license.html */ +/* We need to use some deprecated APIs */ +#define OPENSSL_SUPPRESS_DEPRECATED + #include <openssl/opensslconf.h> -#ifdef OPENSSL_NO_DSA +#if defined(OPENSSL_NO_DSA) || defined(OPENSSL_NO_DEPRECATED_3_0) NON_EMPTY_TRANSLATION_UNIT #else |