Issue #13627: Add support for SSL Elliptic Curve-based Diffie-Hellman

key exchange, through the SSLContext.set_ecdh_curve() method and the
ssl.OP_SINGLE_ECDH_USE option.
This commit is contained in:
Antoine Pitrou 2011-12-19 17:16:51 +01:00
parent d1301953fe
commit 923df6f22a
6 changed files with 76 additions and 1 deletions

View file

@ -68,7 +68,7 @@ from _ssl import (
from _ssl import CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED
from _ssl import (
OP_ALL, OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_TLSv1,
OP_CIPHER_SERVER_PREFERENCE,
OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_ECDH_USE,
)
from _ssl import RAND_status, RAND_egd, RAND_add, RAND_bytes, RAND_pseudo_bytes
from _ssl import (