Mercurial > hg > nginx-quic
comparison src/mail/ngx_mail_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 |
---|---|
386 | 386 |
387 if (conf->verify) { | 387 if (conf->verify) { |
388 | 388 |
389 if (conf->client_certificate.len == 0 && conf->verify != 3) { | 389 if (conf->client_certificate.len == 0 && conf->verify != 3) { |
390 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, | 390 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, |
391 "no ssl_client_certificate for ssl_client_verify"); | 391 "no ssl_client_certificate for ssl_verify_client"); |
392 return NGX_CONF_ERROR; | 392 return NGX_CONF_ERROR; |
393 } | 393 } |
394 | 394 |
395 if (ngx_ssl_client_certificate(cf, &conf->ssl, | 395 if (ngx_ssl_client_certificate(cf, &conf->ssl, |
396 &conf->client_certificate, | 396 &conf->client_certificate, |