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/engine/engine.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/engine/engine.h')
-rw-r--r-- | src/lib/libcrypto/engine/engine.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/engine/engine.h b/src/lib/libcrypto/engine/engine.h index 41f05d48af..8a3574fd57 100644 --- a/src/lib/libcrypto/engine/engine.h +++ b/src/lib/libcrypto/engine/engine.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: engine.h,v 1.35 2022/12/26 07:18:52 jmc Exp $ */ | 1 | /* $OpenBSD: engine.h,v 1.36 2023/04/18 08:33:43 tb Exp $ */ |
2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -70,7 +70,6 @@ | |||
70 | #error ENGINE is disabled. | 70 | #error ENGINE is disabled. |
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | #ifndef OPENSSL_NO_DEPRECATED | ||
74 | #include <openssl/bn.h> | 73 | #include <openssl/bn.h> |
75 | #ifndef OPENSSL_NO_RSA | 74 | #ifndef OPENSSL_NO_RSA |
76 | #include <openssl/rsa.h> | 75 | #include <openssl/rsa.h> |
@@ -92,7 +91,6 @@ | |||
92 | #endif | 91 | #endif |
93 | #include <openssl/ui.h> | 92 | #include <openssl/ui.h> |
94 | #include <openssl/err.h> | 93 | #include <openssl/err.h> |
95 | #endif | ||
96 | 94 | ||
97 | #include <openssl/ossl_typ.h> | 95 | #include <openssl/ossl_typ.h> |
98 | 96 | ||