diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 00:38:00 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 00:38:00 +0200 |
| commit | ee18b6f2fda4afcdd1a22adb5b0637019510907b (patch) | |
| tree | 0c2edfbffca2241eb3b42afb41adf0fc4002f886 /Doc | |
| parent | 4755ab010f18863e305bbd17bbc16b7f39aed360 (diff) | |
| download | cpython-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')
| -rw-r--r-- | Doc/library/ssl.rst | 3 |
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. |
