diff mercurial/hbisect.py @ 29486:a62c00f6dd04

sslutil: use certificates provided by certifi if available The "certifi" Python package provides a distribution of the Mozilla trusted CA certificates as a Python package. If it is present, we assume the user intends it to be used and we use it to provide the default CA certificates when certificates are otherwise not configured. It's worth noting that this behavior roughly matches the popular "requests" package, which also attempts to use "certifi" if present.
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 04 Jul 2016 09:58:45 -0700
parents 9b8a5c6ac176
children ee21ed7fc7a2
line wrap: on
line diff