aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2019-09-16 19:26:42 +0300
committerSergey Kandaurov <pluknet@nginx.com>2019-09-16 19:26:42 +0300
commit555dc61b543bb1fbc50f45b58a422f519d7065ce (patch)
tree56f783762977f67dee1a5fbad9e7d90cd089300e /src
parent4cd1dd28ddd91a15720febc491917da5ba16dbe6 (diff)
downloadnginx-555dc61b543bb1fbc50f45b58a422f519d7065ce.tar.gz
nginx-555dc61b543bb1fbc50f45b58a422f519d7065ce.zip
SSL: fixed ssl_verify_client error message.
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c2
-rw-r--r--src/mail/ngx_mail_ssl_module.c2
-rw-r--r--src/stream/ngx_stream_ssl_module.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index b3f8f4795..495e628d3 100644
--- 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 *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;
}
diff --git a/src/mail/ngx_mail_ssl_module.c b/src/mail/ngx_mail_ssl_module.c
index 5544f7522..e193b298e 100644
--- 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, 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;
}
diff --git a/src/stream/ngx_stream_ssl_module.c b/src/stream/ngx_stream_ssl_module.c
index ec9524e07..79f30a863 100644
--- 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, 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;
}