summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-09 22:48:41 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-09 22:48:41 (GMT)
commit17ca323e7c0d6cc0495f4d1dbef628566a1f8f09 (patch)
tree67be7162ea1049891cf20a3ba2882fa8da2d9f16 /Doc
parentdb932786afdd569bbf2d6b84cfd5cdcb16cb4f27 (diff)
parentee18b6f2fda4afcdd1a22adb5b0637019510907b (diff)
downloadcpython-17ca323e7c0d6cc0495f4d1dbef628566a1f8f09.zip
cpython-17ca323e7c0d6cc0495f4d1dbef628566a1f8f09.tar.gz
cpython-17ca323e7c0d6cc0495f4d1dbef628566a1f8f09.tar.bz2
(Merge 3.1) 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')
-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 011d378..09a2961 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -289,6 +289,9 @@ Constants
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.