Patchwork [11,of,15] sslutil: remove comment referring to unsupported legacy stacks

login
register
mail settings
Submitter Manuel Jacob
Date May 30, 2020, 5:52 a.m.
Message ID <34c4c1b13c793f5860c8.1590817943@tmp>
Download mbox | patch
Permalink /patch/46406/
State New
Headers show

Comments

Manuel Jacob - May 30, 2020, 5:52 a.m.
# HG changeset patch
# User Manuel Jacob <me@manueljacob.de>
# Date 1590785278 -7200
#      Fri May 29 22:47:58 2020 +0200
# Node ID 34c4c1b13c793f5860c840043fbf8e4b2eb8a9a2
# Parent  38f91fbf3f53237e4f5b7fd382f72cfab5e2c8fd
# EXP-Topic require_modern_ssl
sslutil: remove comment referring to unsupported legacy stacks

Patch

diff --git a/mercurial/sslutil.py b/mercurial/sslutil.py
--- a/mercurial/sslutil.py
+++ b/mercurial/sslutil.py
@@ -258,9 +258,7 @@  def protocolsettings(protocol):
         raise ValueError(b'protocol value not supported: %s' % protocol)
 
     # 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