diff src/http/modules/ngx_http_ssl_module.c @ 5700:5e892d40e5cc

SSL: $ssl_client_fingerprint variable.
author Sergey Budnevitch <sb@waeme.net>
date Tue, 20 May 2014 14:03:03 +0400
parents 94ae92776441
children 42114bf12da0
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssl_module.c	Mon May 19 22:45:35 2014 +0400
+++ b/src/http/modules/ngx_http_ssl_module.c	Tue May 20 14:03:03 2014 +0400
@@ -292,6 +292,9 @@
     { 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 },