Merge lp:~gz/brz/cert_reqs_none into lp:brz
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Martin Packman |
Approved revision: | no longer in the source branch. |
Merge reported by: | The Breezy Bot |
Merged at revision: | not available |
Proposed branch: | lp:~gz/brz/cert_reqs_none |
Merge into: | lp:brz |
Diff against target: |
12 lines (+1/-1) 1 file modified
breezy/transport/http/__init__.py (+1/-1) |
To merge this branch: | bzr merge lp:~gz/brz/cert_reqs_none |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Approve | ||
Review via email: mp+368867@code.launchpad.net |
Commit message
Only check https hostname if none cert_reqs=none
Description of the change
Only check https hostname if cert_reqs=required
Avoids error raised from standard lib ssl module:
ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled.
Also set check_hostname on the context rather than the module.
To post a comment you must log in.
One comment, as discussed in person