changeset 7567:ef7ee19776db

SSL: fixed ssl_verify_client error message.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 16 Sep 2019 19:26:42 +0300
parents 571383f75a9a
children 2e61e4b6bcd9
files src/http/modules/ngx_http_ssl_module.c src/mail/ngx_mail_ssl_module.c src/stream/ngx_stream_ssl_module.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssl_module.c	Tue Sep 10 15:42:34 2019 +0300
+++ b/src/http/modules/ngx_http_ssl_module.c	Mon Sep 16 19:26:42 2019 +0300
@@ -777,7 +777,7 @@
 
         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;
         }
 
--- a/src/mail/ngx_mail_ssl_module.c	Tue Sep 10 15:42:34 2019 +0300
+++ b/src/mail/ngx_mail_ssl_module.c	Mon Sep 16 19:26:42 2019 +0300
@@ -388,7 +388,7 @@
 
         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;
         }
 
--- a/src/stream/ngx_stream_ssl_module.c	Tue Sep 10 15:42:34 2019 +0300
+++ b/src/stream/ngx_stream_ssl_module.c	Mon Sep 16 19:26:42 2019 +0300
@@ -745,7 +745,7 @@
 
         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;
         }