aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_ssl_module.c
diff options
context:
space:
mode:
authorSergey Budnevitch <sb@waeme.net>2014-05-20 14:03:03 +0400
committerSergey Budnevitch <sb@waeme.net>2014-05-20 14:03:03 +0400
commit27899a923a36c877cd3307dd054b501789764bcf (patch)
tree9d21af1089f0f54dc6d72ecd71890117464e127e /src/http/modules/ngx_http_ssl_module.c
parent84409ec8e047f2268fda73827d2e7a3833fd2c7c (diff)
downloadnginx-27899a923a36c877cd3307dd054b501789764bcf.tar.gz
nginx-27899a923a36c877cd3307dd054b501789764bcf.zip
SSL: $ssl_client_fingerprint variable.
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 60049e689..730204cbb 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -292,6 +292,9 @@ static ngx_http_variable_t ngx_http_ssl_vars[] = {
{ ngx_string("ssl_client_serial"), NULL, ngx_http_ssl_variable,
(uintptr_t) ngx_ssl_get_serial_number, NGX_HTTP_VAR_CHANGEABLE, 0 },
+ { ngx_string("ssl_client_fingerprint"), NULL, ngx_http_ssl_variable,
+ (uintptr_t) ngx_ssl_get_fingerprint, NGX_HTTP_VAR_CHANGEABLE, 0 },
+
{ ngx_string("ssl_client_verify"), NULL, ngx_http_ssl_variable,
(uintptr_t) ngx_ssl_get_client_verify, NGX_HTTP_VAR_CHANGEABLE, 0 },