From: Igor Sysoev Date: Mon, 26 Oct 2009 12:00:37 +0000 (+0000) Subject: fix r3211 X-Git-Tag: release-0.8.21~1 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/%7B@url%7D?a=commitdiff_plain;h=8ffea50797e5bbb34d5d04f1f2e15b7afc6ae81f;p=nginx.git fix r3211 --- diff --git a/src/core/nginx.c b/src/core/nginx.c index 226208773..7387aa1ba 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -239,8 +239,12 @@ main(int argc, char *const *argv) #ifdef NGX_COMPILER ngx_log_stderr(0, "built by " NGX_COMPILER); #endif +#if (NGX_SSL) #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME ngx_log_stderr(0, "TLS SNI support enabled"); +#else + ngx_log_stderr(0, "TLS SNI support disabled"); +#endif #endif ngx_log_stderr(0, "configure arguments:" NGX_CONFIGURE); }