Mercurial > hg > nginx-vendor-0-7
comparison src/http/modules/ngx_http_ssl_module.c @ 56:3050baa54a26 NGINX_0_1_28
nginx 0.1.28
*) Bugfix: nginx hogs CPU while proxying the huge files.
*) Bugfix: nginx could not be built by gcc 4.0 on Linux.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 08 Apr 2005 00:00:00 +0400 |
parents | 72eb30262aac |
children | b55cbf18157e |
comparison
equal
deleted
inserted
replaced
55:729de7d75018 | 56:3050baa54a26 |
---|---|
195 if (conf->ssl_ctx == NULL) { | 195 if (conf->ssl_ctx == NULL) { |
196 ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0, "SSL_CTX_new() failed"); | 196 ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0, "SSL_CTX_new() failed"); |
197 return NGX_CONF_ERROR; | 197 return NGX_CONF_ERROR; |
198 } | 198 } |
199 | 199 |
200 #if 0 | |
201 SSL_CTX_set_options(conf->ssl_ctx, SSL_OP_ALL); | |
202 SSL_CTX_set_options(conf->ssl_ctx, SSL_OP_NO_SSLv3); | |
203 SSL_CTX_set_options(conf->ssl_ctx, SSL_OP_SINGLE_DH_USE); | |
204 #endif | |
205 | |
200 if (conf->ciphers.len) { | 206 if (conf->ciphers.len) { |
201 if (SSL_CTX_set_cipher_list(conf->ssl_ctx, | 207 if (SSL_CTX_set_cipher_list(conf->ssl_ctx, |
202 (const char *) conf->ciphers.data) == 0) | 208 (const char *) conf->ciphers.data) == 0) |
203 { | 209 { |
204 ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0, | 210 ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0, |