diff options
author | Pauli <paul.dale@oracle.com> | 2020-02-12 06:03:51 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-20 09:58:40 +0100 |
commit | c5f8713443c8d606ff149b12c478cd6162f2a7ac (patch) | |
tree | 536ea6ba3fdf7e0f4e80ef2b50f8f979cfb730a2 /apps/genrsa.c | |
parent | rsa: document deprecated RSA command line apps (diff) | |
download | openssl-c5f8713443c8d606ff149b12c478cd6162f2a7ac.tar.xz openssl-c5f8713443c8d606ff149b12c478cd6162f2a7ac.zip |
Deprecate the low level RSA functions.
Use of the low level RSA functions has been informally discouraged for a
long time. We now formally deprecate them.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11063)
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r-- | apps/genrsa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c index 96fb23aaf5..c45fe19b12 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -7,6 +7,9 @@ * https://www.openssl.org/source/license.html */ +/* We need to use the deprecated RSA low level calls */ +#define OPENSSL_SUPPRESS_DEPRECATED + #include <openssl/opensslconf.h> #ifdef OPENSSL_NO_RSA NON_EMPTY_TRANSLATION_UNIT |