Blame SOURCES/cyrus-imapd-load_ecdh_ciphers.patch

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