From 2b1779b9162541286c4d046411d4050d95a05ee8 Mon Sep 17 00:00:00 2001 From: "F. da Silva" Date: Fri, 10 May 2013 16:53:45 +0200 Subject: [PATCH] Mail: missing ngx_ssl_ecdh_curve() call. --- src/mail/ngx_mail_ssl_module.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mail/ngx_mail_ssl_module.c b/src/mail/ngx_mail_ssl_module.c index dd6f2ac41..780d834c6 100644 --- a/src/mail/ngx_mail_ssl_module.c +++ b/src/mail/ngx_mail_ssl_module.c @@ -308,6 +308,10 @@ ngx_mail_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child) return NGX_CONF_ERROR; } + if (ngx_ssl_ecdh_curve(cf, &conf->ssl, &conf->ecdh_curve) != NGX_OK) { + return NGX_CONF_ERROR; + } + ngx_conf_merge_value(conf->builtin_session_cache, prev->builtin_session_cache, NGX_SSL_NONE_SCACHE);