mirror of
https://github.com/nginx/nginx.git
synced 2024-12-27 17:31:35 -06:00
SSL: fixed ssl_verify_client error message.
This commit is contained in:
parent
4cd1dd28dd
commit
555dc61b54
@ -777,7 +777,7 @@ ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
|
||||
|
||||
if (conf->client_certificate.len == 0 && conf->verify != 3) {
|
||||
ngx_log_error(NGX_LOG_EMERG, cf->log, 0,
|
||||
"no ssl_client_certificate for ssl_client_verify");
|
||||
"no ssl_client_certificate for ssl_verify_client");
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
|
@ -388,7 +388,7 @@ ngx_mail_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child)
|
||||
|
||||
if (conf->client_certificate.len == 0 && conf->verify != 3) {
|
||||
ngx_log_error(NGX_LOG_EMERG, cf->log, 0,
|
||||
"no ssl_client_certificate for ssl_client_verify");
|
||||
"no ssl_client_certificate for ssl_verify_client");
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
|
@ -745,7 +745,7 @@ ngx_stream_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child)
|
||||
|
||||
if (conf->client_certificate.len == 0 && conf->verify != 3) {
|
||||
ngx_log_error(NGX_LOG_EMERG, cf->log, 0,
|
||||
"no ssl_client_certificate for ssl_client_verify");
|
||||
"no ssl_client_certificate for ssl_verify_client");
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user