HomePhabricator

sslutil: set `_canloaddefaultcerts` to `True` if `ssl.SSLContext` is present

Description

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).

Details

Committed
Manuel Jacob <me@manueljacob.de>May 29 2020, 9:46 PM
Parents
rHGaa790f7c967a: filemerge: add __bytes__ for absentfilectx
Branches
Unknown
Tags
Unknown