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/dhparam.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/dhparam.c')
-rw-r--r-- | apps/dhparam.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c index 7a61241f92..e2a5b7946d 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.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_DH +#if defined(OPENSSL_NO_DH) || defined(OPENSSL_NO_DEPRECATED_3_0) NON_EMPTY_TRANSLATION_UNIT #else |