summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecdsa.h
diff options
context:
space:
mode:
authortb <>2023-04-18 08:33:43 +0000
committertb <>2023-04-18 08:33:43 +0000
commit0d79a0b0bbb8531e12ebaf2457df0aea4c12cb02 (patch)
tree83554e7a8d1f97a89169803ba9725faa1c58aa2d /src/lib/libcrypto/ecdsa/ecdsa.h
parent831530a76579b545a7ef980839ca457f8183dfd0 (diff)
downloadopenbsd-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/ecdsa/ecdsa.h')
-rw-r--r--src/lib/libcrypto/ecdsa/ecdsa.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.h b/src/lib/libcrypto/ecdsa/ecdsa.h
index 3f0eb3b66f..d095ef40a3 100644
--- a/src/lib/libcrypto/ecdsa/ecdsa.h
+++ b/src/lib/libcrypto/ecdsa/ecdsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdsa.h,v 1.13 2022/12/26 07:18:51 jmc Exp $ */ 1/* $OpenBSD: ecdsa.h,v 1.14 2023/04/18 08:33:43 tb Exp $ */
2/** 2/**
3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions 3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions
4 * \author Written by Nils Larsch for the OpenSSL project 4 * \author Written by Nils Larsch for the OpenSSL project
@@ -67,9 +67,7 @@
67 67
68#include <openssl/ec.h> 68#include <openssl/ec.h>
69#include <openssl/ossl_typ.h> 69#include <openssl/ossl_typ.h>
70#ifndef OPENSSL_NO_DEPRECATED
71#include <openssl/bn.h> 70#include <openssl/bn.h>
72#endif
73 71
74#ifdef __cplusplus 72#ifdef __cplusplus
75extern "C" { 73extern "C" {