summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-10 00:38:00 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-10 00:38:00 +0200
commitee18b6f2fda4afcdd1a22adb5b0637019510907b (patch)
tree0c2edfbffca2241eb3b42afb41adf0fc4002f886 /Doc/library
parent4755ab010f18863e305bbd17bbc16b7f39aed360 (diff)
downloadcpython-git-ee18b6f2fda4afcdd1a22adb5b0637019510907b.tar.gz
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')
-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 ff7a016a3c..ca3242945b 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.