commit | 501da61671f88032cfde9b81060ddd82d22bf8ec | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Dec 21 09:27:41 2011 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Dec 21 09:27:41 2011 +0100 |
tree | f44c4c48aa3fe76eb688ccdf6639507d629c3036 | |
parent | 822c790527eb4601e7303199ad78be4c9eb9bb72 [diff] [blame] |
Fix ssl module compilation if ECDH support was disabled in the OpenSSL build. (followup to issue #13627)
diff --git a/Lib/ssl.py b/Lib/ssl.py index 0b2f743..d43d255 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py
@@ -86,7 +86,7 @@ SSL_ERROR_EOF, SSL_ERROR_INVALID_ERROR_CODE, ) -from _ssl import HAS_SNI +from _ssl import HAS_SNI, HAS_ECDH from _ssl import (PROTOCOL_SSLv3, PROTOCOL_SSLv23, PROTOCOL_TLSv1) from _ssl import _OPENSSL_API_VERSION