mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix ssl module compilation if ECDH support was disabled in the OpenSSL build.
(followup to issue #13627)
This commit is contained in:
parent
822c790527
commit
501da61671
4 changed files with 25 additions and 1 deletions
|
@ -86,7 +86,7 @@ from _ssl import (
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue