summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
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/dsa
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/dsa')
-rw-r--r--src/lib/libcrypto/dsa/dsa.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h
index c1ff3d7de7..3d81dc6dec 100644
--- a/src/lib/libcrypto/dsa/dsa.h
+++ b/src/lib/libcrypto/dsa/dsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsa.h,v 1.41 2023/04/09 19:10:23 tb Exp $ */ 1/* $OpenBSD: dsa.h,v 1.42 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 *
@@ -77,12 +77,10 @@
77#include <openssl/crypto.h> 77#include <openssl/crypto.h>
78#include <openssl/ossl_typ.h> 78#include <openssl/ossl_typ.h>
79 79
80#ifndef OPENSSL_NO_DEPRECATED
81#include <openssl/bn.h> 80#include <openssl/bn.h>
82#ifndef OPENSSL_NO_DH 81#ifndef OPENSSL_NO_DH
83# include <openssl/dh.h> 82# include <openssl/dh.h>
84#endif 83#endif
85#endif
86 84
87#ifndef OPENSSL_DSA_MAX_MODULUS_BITS 85#ifndef OPENSSL_DSA_MAX_MODULUS_BITS
88# define OPENSSL_DSA_MAX_MODULUS_BITS 10000 86# define OPENSSL_DSA_MAX_MODULUS_BITS 10000