diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-05-16 11:16:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-05-16 11:16:15 +0000 |
commit | 661d35dfb20e4f696fb03e373020367f9306f36c (patch) | |
tree | a0ae37a063c415299b0b104bfc7272e9c99c9a71 /ssl/d1_lib.c | |
parent | f99c9daa390389a0a45e7995757d080692cccba9 (diff) |
Disable ECDHE in DTLS in a cleaner way.
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r-- | ssl/d1_lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 6450c1de85..58ea86304f 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -203,6 +203,9 @@ const SSL_CIPHER *dtls1_get_cipher(unsigned int u) { if (ciph->algorithm_enc == SSL_RC4) return NULL; + /* We currently don't support ECDH either */ + if (ciph->algorithm_mkey & SSL_kEECDH) + return NULL; } return ciph; |