summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-09 22:38:00 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-09 22:38:00 (GMT)
commitee18b6f2fda4afcdd1a22adb5b0637019510907b (patch)
tree0c2edfbffca2241eb3b42afb41adf0fc4002f886 /Doc/library/ssl.rst
parent4755ab010f18863e305bbd17bbc16b7f39aed360 (diff)
downloadcpython-ee18b6f2fda4afcdd1a22adb5b0637019510907b.zip
cpython-ee18b6f2fda4afcdd1a22adb5b0637019510907b.tar.gz
cpython-ee18b6f2fda4afcdd1a22adb5b0637019510907b.tar.bz2
Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index ff7a016..ca32429 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -219,6 +219,9 @@ Functions, Constants, and Exceptions
Selects SSL version 2 as the channel encryption protocol.
+ This protocol is not available if OpenSSL is compiled with OPENSSL_NO_SSL2
+ flag.
+
.. warning::
SSL version 2 is insecure. Its use is highly discouraged.