Show More
@@ -333,20 +333,9 b' Disabling the TLS 1.0 warning works' | |||
|
333 | 333 | > --config hostsecurity.disabletls10warning=true |
|
334 | 334 | 5fed3813f7f5 |
|
335 | 335 | |
|
336 | #if no-sslcontext no-py27+ | |
|
337 | Setting ciphers doesn't work in Python 2.6 | |
|
338 | $ P="$CERTSDIR" hg --config hostsecurity.ciphers=HIGH -R copy-pull id https://localhost:$HGPORT/ | |
|
339 | warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info | |
|
340 | abort: setting ciphers in [hostsecurity] is not supported by this version of Python | |
|
341 | (remove the config option or run Mercurial with a modern Python version (preferred)) | |
|
342 | [255] | |
|
343 | #endif | |
|
336 | Error message for setting ciphers is different depending on SSLContext support | |
|
344 | 337 |
|
|
345 | Setting ciphers works in Python 2.7+ but the error message is different on | |
|
346 | legacy ssl. We test legacy once and do more feature checking on modern | |
|
347 | configs. | |
|
348 | ||
|
349 | #if py27+ no-sslcontext | |
|
338 | #if no-sslcontext | |
|
350 | 339 | $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/ |
|
351 | 340 | warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info |
|
352 | 341 | abort: *No cipher can be selected. (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now