Mercurial > hg > nginx
comparison src/http/modules/ngx_http_ssl_module.c @ 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 | 8981dbb12254 |
children | 8409f9df6219 5d91389e0fd3 |
comparison
equal
deleted
inserted
replaced
7566:571383f75a9a | 7567:ef7ee19776db |
---|---|
775 | 775 |
776 if (conf->verify) { | 776 if (conf->verify) { |
777 | 777 |
778 if (conf->client_certificate.len == 0 && conf->verify != 3) { | 778 if (conf->client_certificate.len == 0 && conf->verify != 3) { |
779 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, | 779 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, |
780 "no ssl_client_certificate for ssl_client_verify"); | 780 "no ssl_client_certificate for ssl_verify_client"); |
781 return NGX_CONF_ERROR; | 781 return NGX_CONF_ERROR; |
782 } | 782 } |
783 | 783 |
784 if (ngx_ssl_client_certificate(cf, &conf->ssl, | 784 if (ngx_ssl_client_certificate(cf, &conf->ssl, |
785 &conf->client_certificate, | 785 &conf->client_certificate, |