summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authormatthewhughes934 <34972397+matthewhughes934@users.noreply.github.com>2020-07-17 08:59:15 (GMT)
committerGitHub <noreply@github.com>2020-07-17 08:59:15 (GMT)
commit8e836bb21ce73f0794fd769db5883c29680dfe47 (patch)
treeb19c7a0296b157bb6654f175ff608b61521a4910 /Misc
parent38d3864efe914fda64553e2ec75c9ec15574483f (diff)
downloadcpython-8e836bb21ce73f0794fd769db5883c29680dfe47.zip
cpython-8e836bb21ce73f0794fd769db5883c29680dfe47.tar.gz
cpython-8e836bb21ce73f0794fd769db5883c29680dfe47.tar.bz2
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
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-07-02-15-03-04.bpo-41195.cEnpO3.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-07-02-15-03-04.bpo-41195.cEnpO3.rst b/Misc/NEWS.d/next/Library/2020-07-02-15-03-04.bpo-41195.cEnpO3.rst
new file mode 100644
index 0000000..f96d5fa
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-07-02-15-03-04.bpo-41195.cEnpO3.rst
@@ -0,0 +1,2 @@
+Add read-only ssl.SSLContext.security_level attribute to retrieve the
+context's security level.