[nginx] SSL: fixed ssl_verify_depth to take only one argument.

Maxim Dounin mdounin at mdounin.ru
Tue Jan 14 11:57:52 UTC 2014


details:   http://hg.nginx.org/nginx/rev/8ed467553f6b
branches:  
changeset: 5504:8ed467553f6b
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Tue Jan 14 15:56:40 2014 +0400
description:
SSL: fixed ssl_verify_depth to take only one argument.

diffstat:

 src/http/modules/ngx_http_ssl_module.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -126,7 +126,7 @@ static ngx_command_t  ngx_http_ssl_comma
       &ngx_http_ssl_verify },
 
     { ngx_string("ssl_verify_depth"),
-      NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_1MORE,
+      NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
       ngx_conf_set_num_slot,
       NGX_HTTP_SRV_CONF_OFFSET,
       offsetof(ngx_http_ssl_srv_conf_t, verify_depth),



More information about the nginx-devel mailing list