Mercurial > hg > nginx
comparison src/event/ngx_event_openssl.h @ 6780:56d6bfe6b609
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.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Fri, 21 Oct 2016 16:28:39 +0300 |
parents | e38e9c50a40e |
children | a7ec59df0c4d |
comparison
equal
deleted
inserted
replaced
6779:e4b00a021cea | 6780:56d6bfe6b609 |
---|---|
203 ngx_str_t *s); | 203 ngx_str_t *s); |
204 ngx_int_t ngx_ssl_get_subject_dn(ngx_connection_t *c, ngx_pool_t *pool, | 204 ngx_int_t ngx_ssl_get_subject_dn(ngx_connection_t *c, ngx_pool_t *pool, |
205 ngx_str_t *s); | 205 ngx_str_t *s); |
206 ngx_int_t ngx_ssl_get_issuer_dn(ngx_connection_t *c, ngx_pool_t *pool, | 206 ngx_int_t ngx_ssl_get_issuer_dn(ngx_connection_t *c, ngx_pool_t *pool, |
207 ngx_str_t *s); | 207 ngx_str_t *s); |
208 ngx_int_t ngx_ssl_get_subject_dn_legacy(ngx_connection_t *c, ngx_pool_t *pool, | |
209 ngx_str_t *s); | |
210 ngx_int_t ngx_ssl_get_issuer_dn_legacy(ngx_connection_t *c, ngx_pool_t *pool, | |
211 ngx_str_t *s); | |
208 ngx_int_t ngx_ssl_get_serial_number(ngx_connection_t *c, ngx_pool_t *pool, | 212 ngx_int_t ngx_ssl_get_serial_number(ngx_connection_t *c, ngx_pool_t *pool, |
209 ngx_str_t *s); | 213 ngx_str_t *s); |
210 ngx_int_t ngx_ssl_get_fingerprint(ngx_connection_t *c, ngx_pool_t *pool, | 214 ngx_int_t ngx_ssl_get_fingerprint(ngx_connection_t *c, ngx_pool_t *pool, |
211 ngx_str_t *s); | 215 ngx_str_t *s); |
212 ngx_int_t ngx_ssl_get_client_verify(ngx_connection_t *c, ngx_pool_t *pool, | 216 ngx_int_t ngx_ssl_get_client_verify(ngx_connection_t *c, ngx_pool_t *pool, |