changeset 44961:24d440e2fdbb

sslutil: fix comment to use inclusive or instead of exclusive or The incorrect "either" was introduced by one of my recent patches.
author Manuel Jacob <me@manueljacob.de>
date Mon, 01 Jun 2020 15:22:31 +0200
parents 53b3baaadb64
children 69d3ce00df99
files mercurial/sslutil.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sslutil.py	Mon Jun 01 14:34:22 2020 +0200
+++ b/mercurial/sslutil.py	Mon Jun 01 15:22:31 2020 +0200
@@ -100,8 +100,8 @@
     # BEAST and POODLE). We allow users to downgrade to TLS 1.0+ via config
     # options in case a legacy server is encountered.
 
-    # setup.py checks that either TLS 1.1 or TLS 1.2 is present, so the
-    # following assert should not fail.
+    # setup.py checks that TLS 1.1 or TLS 1.2 is present, so the following
+    # assert should not fail.
     assert supportedprotocols - {b'tls1.0'}
     defaultminimumprotocol = b'tls1.1'