summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2023-07-06 06:15:37 +0000
committerBob Beck <beck@cvs.openbsd.org>2023-07-06 06:15:37 +0000
commit2b506377c267daef0333c073c9e47cc87c1afde1 (patch)
treed7533a73502880332745a523084e7aaf2e15b886 /lib
parent926c60245c9a2224e2595696f0aac0001b4e93b9 (diff)
Define the 'standard' OPENSSL_NO_BLAHBLAH's for no tls 1.0 or 1.1
We have no tls 1.0 or 1.1 or methods for them. These "in theory" will make things that check the openssl #ifdef soup for all the floating eyeballs make the correct decisions, or if they do not they at least can not blame us. ok tb@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/opensslfeatures.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libcrypto/opensslfeatures.h b/lib/libcrypto/opensslfeatures.h
index 38e7c921c9c..0c0caa9f89c 100644
--- a/lib/libcrypto/opensslfeatures.h
+++ b/lib/libcrypto/opensslfeatures.h
@@ -106,9 +106,10 @@
/* #define OPENSSL_NO_STATIC_ENGINE */
/* #define OPENSSL_NO_STDIO */
/* #define OPENSSL_NO_TLS */
-/* #define OPENSSL_NO_TLS1 */
-/* #define OPENSSL_NO_TLS1_1 */
-/* #define OPENSSL_NO_TLS1_1_METHOD */
+#define OPENSSL_NO_TLS1
+#define OPENSSL_NO_TLS1_1
+#define OPENSSL_NO_TLS1_METHOD
+#define OPENSSL_NO_TLS1_1_METHOD
/* #define OPENSSL_NO_TLS1_2 */
/* #define OPENSSL_NO_TLS1_2_METHOD */
#ifndef LIBRESSL_HAS_TLS1_3