equal
deleted
inserted
replaced
326 if matchdnsname(certname): |
326 if matchdnsname(certname): |
327 return None |
327 return None |
328 return _('certificate is for %s') % certname |
328 return _('certificate is for %s') % certname |
329 return _('no commonName or subjectAltName found in certificate') |
329 return _('no commonName or subjectAltName found in certificate') |
330 |
330 |
331 |
|
332 # CERT_REQUIRED means fetch the cert from the server all the time AND |
|
333 # validate it against the CA store provided in web.cacerts. |
|
334 |
|
335 def _plainapplepython(): |
331 def _plainapplepython(): |
336 """return true if this seems to be a pure Apple Python that |
332 """return true if this seems to be a pure Apple Python that |
337 * is unfrozen and presumably has the whole mercurial module in the file |
333 * is unfrozen and presumably has the whole mercurial module in the file |
338 system |
334 system |
339 * presumably is an Apple Python that uses Apple OpenSSL which has patches |
335 * presumably is an Apple Python that uses Apple OpenSSL which has patches |