]> git.kaiwu.me - nginx.git/commitdiff
SSL: fixed ssl_verify_client error message.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 16 Sep 2019 16:26:42 +0000 (19:26 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 16 Sep 2019 16:26:42 +0000 (19:26 +0300)
src/http/modules/ngx_http_ssl_module.c
src/mail/ngx_mail_ssl_module.c
src/stream/ngx_stream_ssl_module.c

index b3f8f4795cb7d9c2d26d5ab4f5c6aa363e6dfb50..495e628d31d6c1eb00219dd51126eafc1f1bc814 100644 (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;
         }
 
index 5544f75224d894744d2a586d37ab5ee8559b107a..e193b298eaa85b8d1de95cd9c7b8395dcdef205c 100644 (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;
         }
 
index ec9524e0710645097b972c75d0bd283640868dde..79f30a863f604ab6b14a71b5f9bdfb7efe887bc2 100644 (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;
         }