mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
bzr: Add our own location for SSL certificates
Spent an hour finding this place... Let's hope they won't move too much.
This commit is contained in:
@@ -24,3 +24,27 @@ index 0801c96..8f7e582 100644
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
From 8187c88e805592afb551a44f5a4f28a3fdcdfb1d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
|
||||
Date: Sat, 26 Jul 2014 15:06:44 +0200
|
||||
Subject: [PATCH] Add default certificates location for Haiku
|
||||
|
||||
---
|
||||
bzrlib/transport/http/_urllib2_wrappers.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/bzrlib/transport/http/_urllib2_wrappers.py b/bzrlib/transport/http/_urllib2_wrappers.py
|
||||
index 6a8dabd..44d0a63 100644
|
||||
--- a/bzrlib/transport/http/_urllib2_wrappers.py
|
||||
+++ b/bzrlib/transport/http/_urllib2_wrappers.py
|
||||
@@ -86,6 +86,7 @@ _ssl_ca_certs_known_locations = [
|
||||
u"/usr/local/share/certs/ca-root-nss.crt", # FreeBSD
|
||||
# XXX: Needs checking, can't trust the interweb ;) -- vila 2012-01-25
|
||||
u'/etc/openssl/certs/ca-certificates.crt', # Solaris
|
||||
+ u'/boot/system/data/ssl/CARootCertificates.pem', # Haiku
|
||||
]
|
||||
def default_ca_certs():
|
||||
if sys.platform == 'win32':
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user