aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-07-29 14:29:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-07-29 14:29:02 +0000
commit49ed6f3eec81245d0e7e710d7f03e4b7c368f1b4 (patch)
treee14df215d2c55039b8899ed3a62baea89daf5419 /src/http/ngx_http_request.c
parent88634bf06ba45be19ab921f060ccd21f005cefd6 (diff)
downloadnginx-49ed6f3eec81245d0e7e710d7f03e4b7c368f1b4.tar.gz
nginx-49ed6f3eec81245d0e7e710d7f03e4b7c368f1b4.zip
*) ssl_verify_client ask
*) test ssl_client_certificate for ssl_verify_client *) $ssl_client_cert adds TAB before each line except first one *) $ssl_client_raw_cert contains certificate as is
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 8dc562f28..9aad1a487 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1446,7 +1446,7 @@ ngx_http_process_request(ngx_http_request_t *r)
sscf = ngx_http_get_module_srv_conf(r, ngx_http_ssl_module);
- if (sscf->verify) {
+ if (sscf->verify == 1) {
rc = SSL_get_verify_result(c->ssl->connection);
if (rc != X509_V_OK) {