summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-03-10 15:08:05 +1000
committerPauli <paul.dale@oracle.com>2020-04-19 10:37:39 +1000
commit8f7e1f68ccf875d1f10067dc951d5aa697b820be (patch)
tree95751a3742280c62aa97d0a587d7de312f80d19d /include
parent99a7c3a7bf98c7b8d1df943ab7f53cc26aec65dd (diff)
genrsa: update command line app to use EVP calls
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11225)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/rsa.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h
index 49040bf7e6..8912cce4f1 100644
--- a/include/openssl/rsa.h
+++ b/include/openssl/rsa.h
@@ -50,10 +50,12 @@ extern "C" {
# ifndef OPENSSL_RSA_MAX_PUBEXP_BITS
# define OPENSSL_RSA_MAX_PUBEXP_BITS 64
# endif
+# endif /* OPENSSL_NO_DEPRECATED_3_0 */
-# define RSA_3 0x3L
-# define RSA_F4 0x10001L
+# define RSA_3 0x3L
+# define RSA_F4 0x10001L
+# ifndef OPENSSL_NO_DEPRECATED_3_0
/* based on RFC 8017 appendix A.1.2 */
# define RSA_ASN1_VERSION_DEFAULT 0
# define RSA_ASN1_VERSION_MULTI 1