summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ecdsa
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-18 08:33:44 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-18 08:33:44 +0000
commitbb3ef9f7c8d0cbbcd44d19b91dff690afd317c7e (patch)
treee06c08f96036b266af21a9e653df0a85dadf33ad /lib/libcrypto/ecdsa
parent2c87517126efcb8a18496889d798975bf4c14aec (diff)
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 'lib/libcrypto/ecdsa')
-rw-r--r--lib/libcrypto/ecdsa/ecdsa.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/ecdsa/ecdsa.h b/lib/libcrypto/ecdsa/ecdsa.h
index 3f0eb3b66fe..d095ef40a39 100644
--- a/lib/libcrypto/ecdsa/ecdsa.h
+++ b/lib/libcrypto/ecdsa/ecdsa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecdsa.h,v 1.13 2022/12/26 07:18:51 jmc Exp $ */
+/* $OpenBSD: ecdsa.h,v 1.14 2023/04/18 08:33:43 tb Exp $ */
/**
* \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions
* \author Written by Nils Larsch for the OpenSSL project
@@ -67,9 +67,7 @@
#include <openssl/ec.h>
#include <openssl/ossl_typ.h>
-#ifndef OPENSSL_NO_DEPRECATED
#include <openssl/bn.h>
-#endif
#ifdef __cplusplus
extern "C" {