Mercurial > hg
diff mercurial/exchange.py @ 44873:47b3c8383cc1
sslutil: set `_canloaddefaultcerts` to `True` if `ssl.SSLContext` is present
The `load_default_certs()` method was already present when `ssl.SSLContext`
was backported to Python 2.7 (https://hg.python.org/cpython/rev/221a1f9155e2).
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sat, 30 May 2020 03:46:59 +0200 |
parents | bd7b2c8d06cc |
children | 72feaeb510b3 |