diff options
author | tb <> | 2023-04-18 08:33:43 +0000 |
---|---|---|
committer | tb <> | 2023-04-18 08:33:43 +0000 |
commit | 0d79a0b0bbb8531e12ebaf2457df0aea4c12cb02 (patch) | |
tree | 83554e7a8d1f97a89169803ba9725faa1c58aa2d /src/lib/libcrypto/rsa/rsa.h | |
parent | 831530a76579b545a7ef980839ca457f8183dfd0 (diff) | |
download | openbsd-0d79a0b0bbb8531e12ebaf2457df0aea4c12cb02.tar.gz openbsd-0d79a0b0bbb8531e12ebaf2457df0aea4c12cb02.tar.bz2 openbsd-0d79a0b0bbb8531e12ebaf2457df0aea4c12cb02.zip |
Move some includes out of OPENSSL_NO_DEPRECATED
Some headers were included conditionally on OPENSSL_NO_DEPRECATED in hopes
that eventually the mess of everything includes everything will magically
resolve itself. Of course everyone would end up building openssl with
OPENSSL_NO_DEPRECATED over time... Right.
Surprisingly, the ecosystem has come to rely on these implicit inclusions,
so about two dozen ports would fail to build because of this. Patching this
would be easy but really not worth the effort.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 3ee2afd627..bf0aac647e 100644 --- a/src/lib/libcrypto/rsa/rsa.h +++ b/src/lib/libcrypto/rsa/rsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa.h,v 1.60 2023/04/15 18:44:17 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.61 2023/04/18 08:33:43 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,9 +68,7 @@ | |||
68 | #endif | 68 | #endif |
69 | #include <openssl/crypto.h> | 69 | #include <openssl/crypto.h> |
70 | #include <openssl/ossl_typ.h> | 70 | #include <openssl/ossl_typ.h> |
71 | #ifndef OPENSSL_NO_DEPRECATED | ||
72 | #include <openssl/bn.h> | 71 | #include <openssl/bn.h> |
73 | #endif | ||
74 | 72 | ||
75 | #ifdef OPENSSL_NO_RSA | 73 | #ifdef OPENSSL_NO_RSA |
76 | #error RSA is disabled. | 74 | #error RSA is disabled. |