]> git.kaiwu.me - nginx.git/commit
SSL: RFC2253 compliant $ssl_client_s_dn and $ssl_client_i_dn.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 21 Oct 2016 13:28:39 +0000 (16:28 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 21 Oct 2016 13:28:39 +0000 (16:28 +0300)
commit71c93a8e09b2dc911005e254f1b9c16a9ac49fad
tree0226c0266716ba80d054882c0fde26938970f630
parent9ec0b1fe12f0df121ccea2097c27f66997110ac2
SSL: RFC2253 compliant $ssl_client_s_dn and $ssl_client_i_dn.

Originally, the variables kept a result of X509_NAME_oneline(),
which is, according to the official documentation, a legacy
function.  It produces a non standard output form and has
various quirks and inconsistencies.

The RFC2253 compliant behavior is introduced for these variables.
The original variables are available through $ssl_client_s_dn_legacy
and $ssl_client_i_dn_legacy.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/http/modules/ngx_http_ssl_module.c