Patchwork [2,of,8,v5] sslutil: remove comment referring to unsupported legacy stacks

login
register
mail settings
Submitter Manuel Jacob
Date June 1, 2020, 3:28 a.m.
Message ID <8ebbebfe6cefed68e01f.1590982093@tmp>
Download mbox | patch
Permalink /patch/46439/
State New
Headers show

Comments

Manuel Jacob - June 1, 2020, 3:28 a.m.
# HG changeset patch
# User Manuel Jacob <me@manueljacob.de>
# Date 1590785278 -7200
#      Fri May 29 22:47:58 2020 +0200
# Node ID 8ebbebfe6cefed68e01f237eac1dcdf6aa6f7fbc
# Parent  2d2497e32978bc17060f5142b45789b449e7d9d3
# 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
@@ -257,9 +257,7 @@  def protocolsettings(minimumprotocol):
         raise ValueError(b'protocol value not supported: %s' % minimumprotocol)
 
     # 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