2013-12-10 09:34:52 +01:00
|
|
|
Index: requests-1.1.0/MANIFEST.in
|
|
|
|
===================================================================
|
|
|
|
--- requests-1.1.0.orig/MANIFEST.in
|
|
|
|
+++ requests-1.1.0/MANIFEST.in
|
|
|
|
@@ -1 +1 @@
|
|
|
|
-include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem
|
|
|
|
+include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt
|
|
|
|
Index: requests-1.1.0/requests/adapters.py
|
|
|
|
===================================================================
|
|
|
|
--- requests-1.1.0.orig/requests/adapters.py
|
|
|
|
+++ requests-1.1.0/requests/adapters.py
|
|
|
|
@@ -132,9 +132,6 @@ class HTTPAdapter(BaseAdapter):
|
|
|
|
if not cert_loc:
|
|
|
|
cert_loc = DEFAULT_CA_BUNDLE_PATH
|
|
|
|
|
|
|
|
- if not cert_loc:
|
|
|
|
- raise Exception("Could not find a suitable SSL CA certificate bundle.")
|
|
|
|
-
|
|
|
|
conn.cert_reqs = 'CERT_REQUIRED'
|
|
|
|
conn.ca_certs = cert_loc
|
|
|
|
else:
|
|
|
|
Index: requests-1.1.0/requests/certs.py
|
|
|
|
===================================================================
|
|
|
|
--- requests-1.1.0.orig/requests/certs.py
|
|
|
|
+++ requests-1.1.0/requests/certs.py
|
2014-09-12 10:03:33 +02:00
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
def where():
|
|
|
|
"""Return the preferred certificate bundle."""
|
|
|
|
# vendored bundle inside Requests
|
|
|
|
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
|
|
|
+ return None
|
2013-12-10 09:34:52 +01:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
print(where())
|