]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Enable TLS/1.3 support with OpenSSL/LibreSSL, otherwise current ChromeOS
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 14 Sep 2022 20:34:31 +0000 (16:34 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 14 Sep 2022 20:34:31 +0000 (16:34 -0400)
doesn't work...

cups/tls-openssl.c

index 21a2535f452d18e83a0600da670a2bd9d9879a3d..afca79f6621485ba08872e6935f6fe6c4ee9a0d5 100644 (file)
@@ -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
   };