summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_sni.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tls_sni.py')
-rw-r--r--test/test_tls_sni.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_tls_sni.py b/test/test_tls_sni.py
index 61d72125..b2fc05c0 100644
--- a/test/test_tls_sni.py
+++ b/test/test_tls_sni.py
@@ -99,6 +99,7 @@ def config_bundles(bundles):
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_REQUIRED
+ context.verify_flags &= ~ssl.VERIFY_X509_STRICT
context.load_verify_locations(f'{option.temp_dir}/root.crt')
return context