Show More
@@ -442,6 +442,9 def _defaultcacerts(ui): | |||||
442 | except ImportError: |
|
442 | except ImportError: | |
443 | pass |
|
443 | pass | |
444 |
|
444 | |||
|
445 | # Apple's OpenSSL has patches that allow a specially constructed certificate | |||
|
446 | # to load the system CA store. If we're running on Apple Python, use this | |||
|
447 | # trick. | |||
445 | if _plainapplepython(): |
|
448 | if _plainapplepython(): | |
446 | dummycert = os.path.join(os.path.dirname(__file__), 'dummycert.pem') |
|
449 | dummycert = os.path.join(os.path.dirname(__file__), 'dummycert.pem') | |
447 | if os.path.exists(dummycert): |
|
450 | if os.path.exists(dummycert): |
General Comments 0
You need to be logged in to leave comments.
Login now