summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
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/x509
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/x509')
-rw-r--r--src/lib/libcrypto/x509/x509.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 7862307571..ac14dd3868 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.94 2023/03/10 16:43:02 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.95 2023/04/18 08:33:43 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -91,7 +91,6 @@
91#include <openssl/ecdh.h> 91#include <openssl/ecdh.h>
92#endif 92#endif
93 93
94#ifndef OPENSSL_NO_DEPRECATED
95#ifndef OPENSSL_NO_RSA 94#ifndef OPENSSL_NO_RSA
96#include <openssl/rsa.h> 95#include <openssl/rsa.h>
97#endif 96#endif
@@ -101,7 +100,6 @@
101#ifndef OPENSSL_NO_DH 100#ifndef OPENSSL_NO_DH
102#include <openssl/dh.h> 101#include <openssl/dh.h>
103#endif 102#endif
104#endif
105 103
106#ifndef OPENSSL_NO_SHA 104#ifndef OPENSSL_NO_SHA
107#include <openssl/sha.h> 105#include <openssl/sha.h>