diff options
author | tb <> | 2025-01-25 17:59:44 +0000 |
---|---|---|
committer | tb <> | 2025-01-25 17:59:44 +0000 |
commit | 5482f7f31863bd209e2f594c751ead79f03aa62e (patch) | |
tree | 7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/dh | |
parent | 538936a6c977803d4e15c8449c956ab3c5d69d86 (diff) | |
download | openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.gz openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.bz2 openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.zip |
Remove #error if OPENSSL_NO_FOO is defined
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/dh')
-rw-r--r-- | src/lib/libcrypto/dh/dh.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h index 65b4348acf..04bda3fac7 100644 --- a/src/lib/libcrypto/dh/dh.h +++ b/src/lib/libcrypto/dh/dh.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.37 2023/04/18 08:33:43 tb Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.38 2025/01/25 17:59:44 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 | * |
@@ -61,10 +61,6 @@ | |||
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | 62 | #include <openssl/opensslconf.h> |
63 | 63 | ||
64 | #ifdef OPENSSL_NO_DH | ||
65 | #error DH is disabled. | ||
66 | #endif | ||
67 | |||
68 | #ifndef OPENSSL_NO_BIO | 64 | #ifndef OPENSSL_NO_BIO |
69 | #include <openssl/bio.h> | 65 | #include <openssl/bio.h> |
70 | #endif | 66 | #endif |