summaryrefslogtreecommitdiff
path: root/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch
blob: e189a540724320a0b5e95f6200c44a511ca2a964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/python2/httplib2/certs.py
+++ b/python2/httplib2/certs.py
@@ -19,9 +19,7 @@ except ImportError:
     pass
 
 
-BUILTIN_CA_CERTS = os.path.join(
-    os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
-)
+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
 
 
 def where():
--- a/python3/httplib2/certs.py
+++ b/python3/httplib2/certs.py
@@ -19,9 +19,7 @@ except ImportError:
     pass
 
 
-BUILTIN_CA_CERTS = os.path.join(
-    os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
-)
+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
 
 
 def where():