]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't enable TLS 1.3 with OpenSSL yet.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 10 Aug 2022 14:47:46 +0000 (10:47 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 10 Aug 2022 14:47:46 +0000 (10:47 -0400)
cups/tls-openssl.c

index 6db9f8a9c2be28bfcf1f7827e78cb0489954736f..ceb3abaedc507979f34871d87633bf72bc5af10b 100644 (file)
@@ -917,13 +917,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
   };