summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2023-07-06 06:38:02 +0000
committerBob Beck <beck@cvs.openbsd.org>2023-07-06 06:38:02 +0000
commitb5817d351cd5018feb6840282fcbce6ab8eecd86 (patch)
tree626661bc67b26827d207c9ad21de596030ecb3d2 /lib
parente30e830df1a39da445e959cff1420e064c3c5a70 (diff)
define OPENSSL_NO_DTLS1_1 since we no longer have that either.
ok tb@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/opensslfeatures.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libcrypto/opensslfeatures.h b/lib/libcrypto/opensslfeatures.h
index 0c0caa9f89c..1e087f9c239 100644
--- a/lib/libcrypto/opensslfeatures.h
+++ b/lib/libcrypto/opensslfeatures.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: opensslfeatures.h,v 1.39 2023/07/06 06:38:01 beck Exp $ */
/*
* Feature flags for LibreSSL... so you can actually tell when things
* are enabled, rather than not being able to tell when things are
@@ -52,8 +53,10 @@
/* #define OPENSSL_NO_DSA */
/* #define OPENSSL_NO_DSO */
/* #define OPENSSL_NO_DTLS */
-/* #define OPENSSL_NO_DTLS1 */
-/* #define OPENSSL_NO_DTLS1_2 */
+#define OPENSSL_NO_DTLS1
+#ifndef LIBRESSL_HAS_DTLS1_2
+#define OPENSSL_NO_DTLS1_2
+#endif
/* #define OPENSSL_NO_DTLS1_2_METHOD */
/* #define OPENSSL_NO_DTLS1_METHOD */
#define OPENSSL_NO_DYNAMIC_ENGINE