summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_ssl_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-06-16 05:54:18 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-06-16 05:54:18 +0000
commit81f9c9dc7256c4e03af575a370e8b8684f23218a (patch)
tree37665869cf07641defd41a4ea609065e258f5f3a /src/http/modules/ngx_http_ssl_module.c
parentdf83e6f81a53f5d61fe06100f9150cd1dc61e4a2 (diff)
downloadnginx-81f9c9dc7256c4e03af575a370e8b8684f23218a.tar.gz
nginx-81f9c9dc7256c4e03af575a370e8b8684f23218a.tar.bz2
$ssl_client_cert
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index cb815183f..c0f0fdadb 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -182,6 +182,9 @@ static ngx_http_variable_t ngx_http_ssl_vars[] = {
{ ngx_string("ssl_cipher"), NULL, ngx_http_ssl_static_variable,
(uintptr_t) ngx_ssl_get_cipher_name, NGX_HTTP_VAR_CHANGEABLE, 0 },
+ { ngx_string("ssl_client_cert"), NULL, ngx_http_ssl_variable,
+ (uintptr_t) ngx_ssl_get_certificate, NGX_HTTP_VAR_CHANGEABLE, 0 },
+
{ ngx_string("ssl_client_s_dn"), NULL, ngx_http_ssl_variable,
(uintptr_t) ngx_ssl_get_subject_dn, NGX_HTTP_VAR_CHANGEABLE, 0 },