From 953501ded4e673ed5c26c8ce6bf3470f9236d96a Mon Sep 17 00:00:00 2001 From: beck Date: Thu, 6 Jul 2023 06:15:36 +0000 Subject: [PATCH] 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@ --- lib/libcrypto/opensslfeatures.h | 7 ++++--- 1 file 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 -- 2.20.1