This commit is contained in:
Egon Okerman 2024-03-08 17:40:39 +01:00
parent e5c533cf2f
commit 392780e360
No known key found for this signature in database

View File

@ -25,7 +25,7 @@ ctx2 = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) # Noncompliant
----
import ssl
# By default, certificate validation is enabled
# By default, hostname verification is enabled
ctx1 = ssl.create_default_context()
ctx2 = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)