diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-01-14 15:56:40 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-01-14 15:56:40 +0400 |
commit | 70b48a491a0a4dbcbcfc9ca86b22ca966a473ba1 (patch) | |
tree | ceb6560611b47acdaad6525de41dc457efdf1c5b /src | |
parent | 58a240d7735652138da46c64b5eb9e661e5533f5 (diff) | |
download | nginx-70b48a491a0a4dbcbcfc9ca86b22ca966a473ba1.tar.gz nginx-70b48a491a0a4dbcbcfc9ca86b22ca966a473ba1.zip |
SSL: fixed ssl_verify_depth to take only one argument.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_ssl_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index 593111ca6..1a2669065 100644 --- 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_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), |