mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user