summaryrefslogtreecommitdiffstats
path: root/ssl/d1_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-05-16 11:16:43 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-05-16 11:16:43 +0000
commit48fd490c6d3c0e5dcfb2f2464ce84adb6bc3ec7e (patch)
tree20263fd22bf82b9f20af6fd5b6286c1b6466f208 /ssl/d1_lib.c
parent9289f21b7d2985087c826188bd2efc92cbd9cb85 (diff)
Update from 1.0.0-stable.
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r--ssl/d1_lib.c3
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;