comparison src/http/modules/ngx_http_ssl_module.c @ 507:cd3117ad9aab release-0.1.28

nginx-0.1.28-RELEASE import *) Bugfix: nginx hogs CPU while proxying the huge files. *) Bugfix: nginx could not be built by gcc 4.0 on Linux.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 08 Apr 2005 15:18:55 +0000
parents d4ea69372b94
children 9b8c906f6e63
comparison
equal deleted inserted replaced
506:005e65646622 507:cd3117ad9aab
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,