[PATCH 04 of 10 v2] sslutil: remove comment referring to unsupported legacy stacks

Manuel Jacob me at manueljacob.de
Sat May 30 22:37:17 UTC 2020


# HG changeset patch
# User Manuel Jacob <me at manueljacob.de>
# Date 1590785278 -7200
#      Fri May 29 22:47:58 2020 +0200
# Node ID 5d4b7c8aac2c8e7c5f981e9e9c30dc14f90d886f
# Parent  594ab49f13ab0caba9f4934803932cd9b37e96d1
# EXP-Topic require_modern_ssl
sslutil: remove comment referring to unsupported legacy stacks

diff --git a/mercurial/sslutil.py b/mercurial/sslutil.py
--- a/mercurial/sslutil.py
+++ b/mercurial/sslutil.py
@@ -256,9 +256,7 @@ def protocolsettings(protocol):
     assert util.safehasattr(ssl, b'PROTOCOL_TLSv1_2')
 
     # Despite its name, PROTOCOL_SSLv23 selects the highest protocol
-    # that both ends support, including TLS protocols. On legacy stacks,
-    # the highest it likely goes is TLS 1.0. On modern stacks, it can
-    # support TLS 1.2.
+    # that both ends support, including TLS protocols.
     #
     # The PROTOCOL_TLSv* constants select a specific TLS version
     # only (as opposed to multiple versions). So the method for




More information about the Mercurial-devel mailing list