]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix TLS on macOS.
authorMichael R Sweet <michaelrsweet@gmail.com>
Sat, 16 Dec 2017 00:30:22 +0000 (19:30 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Sat, 16 Dec 2017 00:30:22 +0000 (19:30 -0500)
cups/tls-darwin.c

index 89ac8c206a3e74ea15d225b8690a21dd9f805b6b..9fb3b161136d76be925f2e6c873d3b82451f241e 100644 (file)
@@ -1222,8 +1222,8 @@ _httpTLSStart(http_t *http)               /* I - HTTP connection */
       kTLSProtocol1,
       kTLSProtocol11,
       kTLSProtocol12,
-      kTLSProtocol13,
-      kTLSProtocolMaxSupported
+      kTLSProtocol12, /* TODO: update to 1.3 when 1.3 is supported */
+      kTLSProtocol12  /* TODO: update to 1.3 when 1.3 is supported */
     };
 
     error = SSLSetProtocolVersionMin(http->tls, protocols[tls_min_version]);