From: Michael R Sweet Date: Wed, 14 Sep 2022 20:34:31 +0000 (-0400) Subject: Enable TLS/1.3 support with OpenSSL/LibreSSL, otherwise current ChromeOS X-Git-Tag: v2.4.3~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccc1c3454343deb0f5a8d4c4882c488b38100dcd;p=thirdparty%2Fcups.git Enable TLS/1.3 support with OpenSSL/LibreSSL, otherwise current ChromeOS doesn't work... --- diff --git a/cups/tls-openssl.c b/cups/tls-openssl.c index 21a2535f45..afca79f662 100644 --- a/cups/tls-openssl.c +++ b/cups/tls-openssl.c @@ -946,13 +946,13 @@ _httpTLSStart(http_t *http) // I - Connection to server TLS1_VERSION, // TLS/1.0 TLS1_1_VERSION, // TLS/1.1 TLS1_2_VERSION, // TLS/1.2 -//#ifdef TLS1_3_VERSION -// TLS1_3_VERSION, // TLS/1.3 -// TLS1_3_VERSION // TLS/1.3 (max) -//#else +#ifdef TLS1_3_VERSION + TLS1_3_VERSION, // TLS/1.3 + TLS1_3_VERSION // TLS/1.3 (max) +#else TLS1_2_VERSION, // TLS/1.2 TLS1_2_VERSION // TLS/1.2 (max) -//#endif // TLS1_3_VERSION +#endif // TLS1_3_VERSION };