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

login
register
mail settings
Submitter Manuel Jacob
Date May 30, 2020, 10:37 p.m.
Message ID <5d4b7c8aac2c8e7c5f98.1590878237@tmp>
Download mbox | patch
Permalink /patch/46423/
State New
Headers show

Comments

Manuel Jacob - May 30, 2020, 10:37 p.m.
# HG changeset patch
# User Manuel Jacob <me@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

Patch

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