]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41195: Add getter for Openssl security level (GH-21282)
authormatthewhughes934 <34972397+matthewhughes934@users.noreply.github.com>
Fri, 17 Jul 2020 08:59:15 +0000 (09:59 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Jul 2020 08:59:15 +0000 (01:59 -0700)
commit8e836bb21ce73f0794fd769db5883c29680dfe47
treeb19c7a0296b157bb6654f175ff608b61521a4910
parent38d3864efe914fda64553e2ec75c9ec15574483f
bpo-41195: Add getter for Openssl security level (GH-21282)

Add an accessor under SSLContext.security_level as a wrapper around
SSL_CTX_get_security_level, see:
https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html

------
This is my first time contributing, so please pull me up on all the things I missed or did incorrectly.

Automerge-Triggered-By: @tiran
Doc/library/ssl.rst
Lib/test/test_ssl.py
Misc/NEWS.d/next/Library/2020-07-02-15-03-04.bpo-41195.cEnpO3.rst [new file with mode: 0644]
Modules/_ssl.c