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/ui/ui.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/ui/ui.h')
-rw-r--r-- | src/lib/libcrypto/ui/ui.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ui/ui.h b/src/lib/libcrypto/ui/ui.h index 79d807f03c..c688431394 100644 --- a/src/lib/libcrypto/ui/ui.h +++ b/src/lib/libcrypto/ui/ui.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui.h,v 1.17 2023/03/10 16:41:32 tb Exp $ */ | 1 | /* $OpenBSD: ui.h,v 1.18 2023/04/18 08:33:43 tb Exp $ */ |
2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -61,9 +61,7 @@ | |||
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | 62 | #include <openssl/opensslconf.h> |
63 | 63 | ||
64 | #ifndef OPENSSL_NO_DEPRECATED | ||
65 | #include <openssl/crypto.h> | 64 | #include <openssl/crypto.h> |
66 | #endif | ||
67 | #include <openssl/safestack.h> | 65 | #include <openssl/safestack.h> |
68 | #include <openssl/ossl_typ.h> | 66 | #include <openssl/ossl_typ.h> |
69 | 67 | ||