comparison src/core/nginx.c @ 3243:08570d26c7c5 stable-0.7

merge r2995, r2996, r2997, r2998, r3003, r3141, r3210, r3211, r3232: various SSL fixes and features: *) $ssl_client_verify *) "ssl_verify_client ask" was changed to "ssl_verify_client optional" *) ssl_crl *) delete OpenSSL pre-0.9.7 compatibility: the sources were not actually compatible with OpenSSL 0.9.6 since ssl_session_cache introduction *) fix memory corruption in $ssl_client_cert *) issue SNI warning instead of failure: this is too common case *) use ngx_log_error(), since OpenSSL does not set an error on the failure *) add SNI support in -V output
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 16:53:34 +0000
parents 87da6664fb49
children 20871c5e1d5d
comparison
equal deleted inserted replaced
3242:f678ea405737 3243:08570d26c7c5
237 237
238 if (ngx_show_configure) { 238 if (ngx_show_configure) {
239 #ifdef NGX_COMPILER 239 #ifdef NGX_COMPILER
240 ngx_log_stderr(0, "built by " NGX_COMPILER); 240 ngx_log_stderr(0, "built by " NGX_COMPILER);
241 #endif 241 #endif
242 #if (NGX_SSL)
243 #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
244 ngx_log_stderr(0, "TLS SNI support enabled");
245 #else
246 ngx_log_stderr(0, "TLS SNI support disabled");
247 #endif
248 #endif
242 ngx_log_stderr(0, "configure arguments:" NGX_CONFIGURE); 249 ngx_log_stderr(0, "configure arguments:" NGX_CONFIGURE);
243 } 250 }
244 251
245 if (!ngx_test_config) { 252 if (!ngx_test_config) {
246 return 0; 253 return 0;