mirror of
https://github.com/nginx/nginx.git
synced 2025-06-18 01:30:42 +08:00
SSL: fixed ssl_verify_depth to take only one argument.
This commit is contained in:
parent
58a240d773
commit
70b48a491a
@ -126,7 +126,7 @@ static ngx_command_t ngx_http_ssl_commands[] = {
|
|||||||
&ngx_http_ssl_verify },
|
&ngx_http_ssl_verify },
|
||||||
|
|
||||||
{ ngx_string("ssl_verify_depth"),
|
{ 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_conf_set_num_slot,
|
||||||
NGX_HTTP_SRV_CONF_OFFSET,
|
NGX_HTTP_SRV_CONF_OFFSET,
|
||||||
offsetof(ngx_http_ssl_srv_conf_t, verify_depth),
|
offsetof(ngx_http_ssl_srv_conf_t, verify_depth),
|
||||||
|
Loading…
Reference in New Issue
Block a user