Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting with python 3.7 ssl.SSLSocket was removed. Simply calling wrap_socket is the proposed fix here. Starting with python 3.5 ssl.PROTOCOL_TLSv1 was removed, so we switch to PROTOCOL_TLS, which should result in the highest possible TLS connection. Modern OSes do no longer support SSLv2/3 so it is okayish to ignore those. This should fix Bcfg2#415
- Loading branch information