summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdh
diff options
context:
space:
mode:
authortb <>2023-04-18 08:33:43 +0000
committertb <>2023-04-18 08:33:43 +0000
commit7c140db45f1d1b8f4daf0a81424b35e3a5ff8e29 (patch)
tree83554e7a8d1f97a89169803ba9725faa1c58aa2d /src/lib/libcrypto/ecdh
parent87b9736b2a0fa7d88c9287a2aa1bcc757372e73c (diff)
downloadopenbsd-7c140db45f1d1b8f4daf0a81424b35e3a5ff8e29.tar.gz
openbsd-7c140db45f1d1b8f4daf0a81424b35e3a5ff8e29.tar.bz2
openbsd-7c140db45f1d1b8f4daf0a81424b35e3a5ff8e29.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.h4
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
85extern "C" { 83extern "C" {