Blame SOURCES/cyrus-imapd-load_ecdh_ciphers.patch

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