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/ecdh | |
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/ecdh')
-rw-r--r-- | src/lib/libcrypto/ecdh/ecdh.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdh/ecdh.h b/src/lib/libcrypto/ecdh/ecdh.h index b39a90f165..98cc2223a1 100644 --- a/src/lib/libcrypto/ecdh/ecdh.h +++ b/src/lib/libcrypto/ecdh/ecdh.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecdh.h,v 1.6 2022/07/12 14:42:49 kn Exp $ */ | 1 | /* $OpenBSD: ecdh.h,v 1.7 2023/04/18 08:33:43 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -77,9 +77,7 @@ | |||
77 | 77 | ||
78 | #include <openssl/ec.h> | 78 | #include <openssl/ec.h> |
79 | #include <openssl/ossl_typ.h> | 79 | #include <openssl/ossl_typ.h> |
80 | #ifndef OPENSSL_NO_DEPRECATED | ||
81 | #include <openssl/bn.h> | 80 | #include <openssl/bn.h> |
82 | #endif | ||
83 | 81 | ||
84 | #ifdef __cplusplus | 82 | #ifdef __cplusplus |
85 | extern "C" { | 83 | extern "C" { |