]> git.kaiwu.me - nginx.git/commitdiff
SSL: fixed ssl_verify_depth to take only one argument.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 14 Jan 2014 11:56:40 +0000 (15:56 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 14 Jan 2014 11:56:40 +0000 (15:56 +0400)
src/http/modules/ngx_http_ssl_module.c

index 593111ca68058283fae3c88499bdfb16826f3d82..1a2669065bb744918cb68f47c5311cb8fb053978 100644 (file)
@@ -126,7 +126,7 @@ static ngx_command_t  ngx_http_ssl_commands[] = {
       &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),