Update python/ql/test/query-tests/Security/CWE-327/pyOpenSSL_fluent.py

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
yoff
2021-03-26 00:25:40 +01:00
committed by GitHub
parent 62a0775cf6
commit 54dad57cf4

View File

@@ -23,6 +23,8 @@ def test_fluent_no_TLSv1():
def test_fluent_safe():
hostname = 'www.python.org'
context = SSL.Context(SSL.SSLv23_METHOD)
context.set_options(SSL.OP_NO_SSLv2)
context.set_options(SSL.OP_NO_SSLv3)
context.set_options(SSL.OP_NO_TLSv1)
context.set_options(SSL.OP_NO_TLSv1_1)