Mercurial > hg > nginx
comparison src/stream/ngx_stream_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 | 3bff3f397c05 |
comparison
equal
deleted
inserted
replaced
7566:571383f75a9a | 7567:ef7ee19776db |
---|---|
743 | 743 |
744 if (conf->verify) { | 744 if (conf->verify) { |
745 | 745 |
746 if (conf->client_certificate.len == 0 && conf->verify != 3) { | 746 if (conf->client_certificate.len == 0 && conf->verify != 3) { |
747 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, | 747 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, |
748 "no ssl_client_certificate for ssl_client_verify"); | 748 "no ssl_client_certificate for ssl_verify_client"); |
749 return NGX_CONF_ERROR; | 749 return NGX_CONF_ERROR; |
750 } | 750 } |
751 | 751 |
752 if (ngx_ssl_client_certificate(cf, &conf->ssl, | 752 if (ngx_ssl_client_certificate(cf, &conf->ssl, |
753 &conf->client_certificate, | 753 &conf->client_certificate, |