[nginx] Mail: missing ngx_ssl_ecdh_curve() call.
Maxim Dounin
mdounin at mdounin.ru
Tue May 21 18:52:08 UTC 2013
details: http://hg.nginx.org/nginx/rev/32fe021911c9
branches:
changeset: 5219:32fe021911c9
user: F. da Silva <fdasilvayy at gmail.com>
date: Fri May 10 16:53:45 2013 +0200
description:
Mail: missing ngx_ssl_ecdh_curve() call.
diffstat:
src/mail/ngx_mail_ssl_module.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff --git a/src/mail/ngx_mail_ssl_module.c b/src/mail/ngx_mail_ssl_module.c
--- 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,
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);
More information about the nginx-devel
mailing list