Mercurial > hg > nginx-vendor-current
comparison src/event/ngx_event_openssl.h @ 690:b5b7eea22fda NGINX_1_3_8
nginx 1.3.8
*) Feature: the "optional_no_ca" parameter of the "ssl_verify_client"
directive.
Thanks to Mike Kazantsev and Eric O'Connor.
*) Feature: the $bytes_sent, $connection, and $connection_requests
variables can now be used not only in the "log_format" directive.
Thanks to Benjamin Grössing.
*) Feature: the "auto" parameter of the "worker_processes" directive.
*) Bugfix: "cache file ... has md5 collision" alert.
*) Bugfix: in the ngx_http_gunzip_filter_module.
*) Bugfix: in the "ssl_stapling" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 30 Oct 2012 00:00:00 +0400 |
parents | f31b19fe7f48 |
children |
comparison
equal
deleted
inserted
replaced
689:4d942f0d1703 | 690:b5b7eea22fda |
---|---|
125 #define ngx_ssl_get_connection(ssl_conn) \ | 125 #define ngx_ssl_get_connection(ssl_conn) \ |
126 SSL_get_ex_data(ssl_conn, ngx_ssl_connection_index) | 126 SSL_get_ex_data(ssl_conn, ngx_ssl_connection_index) |
127 #define ngx_ssl_get_server_conf(ssl_ctx) \ | 127 #define ngx_ssl_get_server_conf(ssl_ctx) \ |
128 SSL_CTX_get_ex_data(ssl_ctx, ngx_ssl_server_conf_index) | 128 SSL_CTX_get_ex_data(ssl_ctx, ngx_ssl_server_conf_index) |
129 | 129 |
130 #define ngx_ssl_verify_error_optional(n) \ | |
131 (n == X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT \ | |
132 || n == X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN \ | |
133 || n == X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY \ | |
134 || n == X509_V_ERR_CERT_UNTRUSTED \ | |
135 || n == X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE) | |
136 | |
130 | 137 |
131 ngx_int_t ngx_ssl_get_protocol(ngx_connection_t *c, ngx_pool_t *pool, | 138 ngx_int_t ngx_ssl_get_protocol(ngx_connection_t *c, ngx_pool_t *pool, |
132 ngx_str_t *s); | 139 ngx_str_t *s); |
133 ngx_int_t ngx_ssl_get_cipher_name(ngx_connection_t *c, ngx_pool_t *pool, | 140 ngx_int_t ngx_ssl_get_cipher_name(ngx_connection_t *c, ngx_pool_t *pool, |
134 ngx_str_t *s); | 141 ngx_str_t *s); |