Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1065716

Browse files
committed
Python: Improve qlhelp according to review
1 parent 89d0724 commit 1065716

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

python/ql/src/Security/CWE-327/InsecureDefaultProtocol.qhelp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@
3838
</p>
3939
<p>
4040
Note that <code>ssl.wrap_socket</code> has been deprecated in
41-
Python 3.7. A preferred alternative is to use
42-
<code>ssl.SSLContext</code>, which is supported in Python 2.7.9 and
43-
3.2 and later versions or the convenience function
44-
<code>ssl.create_default_context</code>, which is supported in Python
45-
3.4 and later versions.
41+
Python 3.7. The recommended alternatives are:
42+
<ul>
43+
<li><code>ssl.SSLContext</code> - supported in Python 2.7.9,
44+
3.2, and later versions</li>
45+
<li><code>ssl.create_default_context</code> - a convenience function,
46+
supported in Python 3.4 and later versions.</li>
47+
</ul>
4648
</p>
4749
</example>
4850

0 commit comments

Comments
 (0)