Skip to content
Snippets Groups Projects
Verified Commit 2b16394f authored by Timm Fitschen's avatar Timm Fitschen
Browse files

FIX new tls suite

parent b16d7555
Branches
Tags
No related merge requests found
......@@ -58,7 +58,7 @@ def test_https_support():
from http.client import HTTPSConnection
import ssl
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) # @UndefinedVariable
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) # @UndefinedVariable
context.verify_mode = ssl.CERT_REQUIRED
if hasattr(context, "check_hostname"):
context.check_hostname = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment