Blame SOURCES/cyrus-imapd-load_ecdh_ciphers.patch

25107b
diff --git a/imap/tls.c b/imap/tls.c
25107b
index fcc8ab6..4c83c83 100644
25107b
--- a/imap/tls.c
25107b
+++ b/imap/tls.c
25107b
@@ -775,7 +775,8 @@ int     tls_init_serverengine(const char *ident,
25107b
 #if (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
25107b
     /* Load DH params for DHE-* key exchanges */
25107b
     SSL_CTX_set_tmp_dh(s_ctx, load_dh_param(s_key_file, s_cert_file));
25107b
-    /* FIXME: Load ECDH params for ECDHE suites when 0.9.9 is released */
25107b
+    /* Enable ECDH ciphers */
25107b
+    SSL_CTX_set_ecdh_auto(s_ctx,1);
25107b
 #endif
25107b
 
25107b
     verify_depth = verifydepth;