SSL: fixed ssl_verify_client error message.

This commit is contained in:
Sergey Kandaurov 2019-09-16 19:26:42 +03:00
parent 4cd1dd28dd
commit 555dc61b54
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}