changeset 44896:4dcb2791beab

config: remove unused hostsecurity.disabletls10warning config
author Manuel Jacob <me@manueljacob.de>
date Sun, 31 May 2020 00:30:49 +0200
parents 5921dc0d5c3a
children 941fef7523c7
files mercurial/configitems.py tests/test-https.t
diffstat 2 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Sun May 31 22:15:35 2020 +0200
+++ b/mercurial/configitems.py	Sun May 31 00:30:49 2020 +0200
@@ -808,9 +808,6 @@
     b'hostsecurity', b'ciphers', default=None,
 )
 coreconfigitem(
-    b'hostsecurity', b'disabletls10warning', default=False,
-)
-coreconfigitem(
     b'hostsecurity', b'minimumprotocol', default=dynamicdefault,
 )
 coreconfigitem(
--- a/tests/test-https.t	Sun May 31 22:15:35 2020 +0200
+++ b/tests/test-https.t	Sun May 31 00:30:49 2020 +0200
@@ -268,12 +268,6 @@
   abort: error: *certificate verify failed* (glob)
   [255]
 
-Disabling the TLS 1.0 warning works
-  $ hg -R copy-pull id https://localhost:$HGPORT/ \
-  > --config hostsecurity.localhost:fingerprints=sha1:ecd87cd6b386d04fc1b8b41c9d8f5e168eef1c03 \
-  > --config hostsecurity.disabletls10warning=true
-  5fed3813f7f5
-
 Setting ciphers to an invalid value aborts
   $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/
   abort: could not set ciphers: No cipher can be selected.