/[packages]/updates/3/python-httplib2/current/SOURCES/httplib2-use-system-certs.patch
ViewVC logotype

Diff of /updates/3/python-httplib2/current/SOURCES/httplib2-use-system-certs.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 425495 by umeabot, Wed May 22 00:12:50 2013 UTC revision 425496 by philippem, Thu May 23 21:21:30 2013 UTC
# Line 31  diff -up ./python2/httplib2/__init__.py. Line 31  diff -up ./python2/httplib2/__init__.py.
31    
32       def _ValidateCertificateHostname(self, cert, hostname):       def _ValidateCertificateHostname(self, cert, hostname):
33           """Validates that a given hostname is valid for an SSL certificate.           """Validates that a given hostname is valid for an SSL certificate.
34    diff -up ./python3/httplib2/__init__.py ./python3/httplib2/__init__.py
35    --- ./python3/httplib2/__init__.py      2013-03-06 21:45:31.000000000 +0100
36    +++ ./python3/httplib2/__init__.py      2013-03-22 14:01:51.270409717 +0100
37    @@ -124,8 +124,8 @@
38     HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
39    
40     # Default CA certificates file bundled with httplib2.
41    -CA_CERTS = os.path.join(
42    -        os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
43    +CA_CERTS = "/etc/ssl/certs/ca-bundle.crt"
44    +        
45    
46     def _get_end2end_headers(response):
47         hopbyhop = list(HOP_BY_HOP)
48  --- ./setup.py.orig     2012-09-11 19:22:30.000000000 +0200  --- ./setup.py.orig     2012-09-11 19:22:30.000000000 +0200
49  +++ ./setup.py  2012-09-23 12:23:34.737350441 +0200  +++ ./setup.py  2012-09-23 12:23:34.737350441 +0200
50  @@ -62,7 +62,6 @@ A comprehensive HTTP client library, ``h  @@ -62,7 +62,6 @@ A comprehensive HTTP client library, ``h

Legend:
Removed from v.425495  
changed lines
  Added in v.425496

  ViewVC Help
Powered by ViewVC 1.1.30