Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
python-urlgrabber
python-urlgrabber-3.9.1-set-SSL_VERIFYHOST-corr...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-urlgrabber-3.9.1-set-SSL_VERIFYHOST-correct.dif of Package python-urlgrabber
Index: urlgrabber-3.9.1/urlgrabber/grabber.py =================================================================== --- urlgrabber-3.9.1.orig/urlgrabber/grabber.py +++ urlgrabber-3.9.1/urlgrabber/grabber.py @@ -1190,7 +1190,8 @@ class PyCurlFileObject(): self.curl_obj.setopt(pycurl.CAPATH, opts.ssl_ca_cert) self.curl_obj.setopt(pycurl.CAINFO, opts.ssl_ca_cert) self.curl_obj.setopt(pycurl.SSL_VERIFYPEER, opts.ssl_verify_peer) - self.curl_obj.setopt(pycurl.SSL_VERIFYHOST, opts.ssl_verify_host) + if opts.ssl_verify_host: # 1 is meaningless to curl + self.curl_obj.setopt(pycurl.SSL_VERIFYHOST, 2) if opts.ssl_key: self.curl_obj.setopt(pycurl.SSLKEY, opts.ssl_key) if opts.ssl_key_type:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor