1
0

Accepting request 224887 from devel:languages:python

- Modify httplib2-use-system-certs.patch to not depend on a generated bundle.
  OpenSSL has everything built in to do the cert verification, we do not
  need to pass a cert bundle file

OBS-URL: https://build.opensuse.org/request/show/224887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httplib2?expand=0&rev=33
This commit is contained in:
Stephan Kulow 2014-03-07 06:06:03 +00:00 committed by Git OBS Bridge
commit 7c1e661081
2 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,7 @@ diff -ruN a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
- CA_CERTS = os.path.join( - CA_CERTS = os.path.join(
- os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt") - os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
+# Default CA certificates file bundled with httplib2. +# Default CA certificates file bundled with httplib2.
+CA_CERTS = '/etc/ssl/ca-bundle.pem' +CA_CERTS = None
# Which headers are hop-by-hop headers by default # Which headers are hop-by-hop headers by default
HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 5 21:21:56 UTC 2014 - rschweikert@suse.com
- Modify httplib2-use-system-certs.patch to not depend on a generated bundle.
OpenSSL has everything built in to do the cert verification, we do not
need to pass a cert bundle file
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 13 08:00:00 UTC 2014 - rschweikert@suse.com Thu Feb 13 08:00:00 UTC 2014 - rschweikert@suse.com