comparison src/http/ngx_http_request.c @ 220:559bc7ec214e NGINX_0_3_57

nginx 0.3.57 *) Feature: the $ssl_client_serial variable. *) Bugfix: in the "!-e" operator of the "if" directive. Thanks to Andrian Budanstov. *) Bugfix: while a client certificate verification nginx did not send to a client the required certificates information. *) Bugfix: the $document_root variable did not support the variables in the "root" directive.
author Igor Sysoev <http://sysoev.ru>
date Wed, 09 Aug 2006 00:00:00 +0400
parents 1bf60f8c5c9e
children 21f2ace7c936
comparison
equal deleted inserted replaced
219:8045828c3706 220:559bc7ec214e
1342 if (sscf->verify) { 1342 if (sscf->verify) {
1343 rc = SSL_get_verify_result(r->connection->ssl->connection); 1343 rc = SSL_get_verify_result(r->connection->ssl->connection);
1344 1344
1345 if (rc != X509_V_OK) { 1345 if (rc != X509_V_OK) {
1346 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, 1346 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0,
1347 "client SSL certificate verify error: (%l:%s) ", 1347 "client SSL certificate verify error: (%l:%s)",
1348 rc, X509_verify_cert_error_string(rc)); 1348 rc, X509_verify_cert_error_string(rc));
1349 ngx_http_finalize_request(r, NGX_HTTPS_CERT_ERROR); 1349 ngx_http_finalize_request(r, NGX_HTTPS_CERT_ERROR);
1350 return NGX_ERROR; 1350 return NGX_ERROR;
1351 } 1351 }
1352 1352