# HG changeset patch # User Sergey Kandaurov # Date 1568651202 -10800 # Node ID ef7ee19776db5dfc7a1660ceb0d8f4b6f0bdab12 # Parent 571383f75a9ad47182b336471ca5e05025cc2017 SSL: fixed ssl_verify_client error message. diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -777,7 +777,7 @@ ngx_http_ssl_merge_srv_conf(ngx_conf_t * 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; } diff --git a/src/mail/ngx_mail_ssl_module.c b/src/mail/ngx_mail_ssl_module.c --- a/src/mail/ngx_mail_ssl_module.c +++ b/src/mail/ngx_mail_ssl_module.c @@ -388,7 +388,7 @@ ngx_mail_ssl_merge_conf(ngx_conf_t *cf, 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; } diff --git a/src/stream/ngx_stream_ssl_module.c b/src/stream/ngx_stream_ssl_module.c --- a/src/stream/ngx_stream_ssl_module.c +++ b/src/stream/ngx_stream_ssl_module.c @@ -745,7 +745,7 @@ ngx_stream_ssl_merge_conf(ngx_conf_t *cf 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; }