diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-12-21 08:27:41 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-12-21 08:27:41 (GMT) |
commit | 501da61671f88032cfde9b81060ddd82d22bf8ec (patch) | |
tree | f44c4c48aa3fe76eb688ccdf6639507d629c3036 /Doc/library/ssl.rst | |
parent | 822c790527eb4601e7303199ad78be4c9eb9bb72 (diff) | |
download | cpython-501da61671f88032cfde9b81060ddd82d22bf8ec.zip cpython-501da61671f88032cfde9b81060ddd82d22bf8ec.tar.gz cpython-501da61671f88032cfde9b81060ddd82d22bf8ec.tar.bz2 |
Fix ssl module compilation if ECDH support was disabled in the OpenSSL build.
(followup to issue #13627)
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r-- | Doc/library/ssl.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 3cd9554..9b3306c 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -445,6 +445,14 @@ Constants .. versionadded:: 3.3 +.. data:: HAS_ECDH + + Whether the OpenSSL library has built-in support for Elliptic Curve-based + Diffie-Hellman key exchange. This should be true unless the feature was + explicitly disabled by the distributor. + + .. versionadded:: 3.3 + .. data:: HAS_SNI Whether the OpenSSL library has built-in support for the *Server Name @@ -711,6 +719,8 @@ to speed up repeated connections from the same clients. This setting doesn't apply to client sockets. You can also use the :data:`OP_SINGLE_ECDH_USE` option to further improve security. + This method is not available if :data:`HAS_ECDH` is False. + .. versionadded:: 3.3 .. seealso:: |