# HG changeset patch # User Maxim Dounin # Date 1389700600 -14400 # Node ID 8ed467553f6b94552c97cb3069bb4cb205b030e2 # Parent d049b0ea00a388c142627f10a0ee01c5b1bedc43 SSL: fixed ssl_verify_depth to take only one argument. 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),