comparison src/http/modules/ngx_http_ssl_module.c @ 3196:b7e68ee09e0c

use only strong ciphers by default
author Igor Sysoev <igor@sysoev.ru>
date Wed, 07 Oct 2009 14:46:13 +0000
parents dd2ae3872634
children b82c623a607e
comparison
equal deleted inserted replaced
3195:b495a56f1f24 3196:b7e68ee09e0c
11 11
12 typedef ngx_int_t (*ngx_ssl_variable_handler_pt)(ngx_connection_t *c, 12 typedef ngx_int_t (*ngx_ssl_variable_handler_pt)(ngx_connection_t *c,
13 ngx_pool_t *pool, ngx_str_t *s); 13 ngx_pool_t *pool, ngx_str_t *s);
14 14
15 15
16 #define NGX_DEFAULT_CIPHERS "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM" 16 #define NGX_DEFAULT_CIPHERS "HIGH:!ADH:!MD5"
17 17
18 18
19 static ngx_int_t ngx_http_ssl_static_variable(ngx_http_request_t *r, 19 static ngx_int_t ngx_http_ssl_static_variable(ngx_http_request_t *r,
20 ngx_http_variable_value_t *v, uintptr_t data); 20 ngx_http_variable_value_t *v, uintptr_t data);
21 static ngx_int_t ngx_http_ssl_variable(ngx_http_request_t *r, 21 static ngx_int_t ngx_http_ssl_variable(ngx_http_request_t *r,