]> git.kaiwu.me - nginx.git/commitdiff
fix r3211
authorIgor Sysoev <igor@sysoev.ru>
Mon, 26 Oct 2009 12:00:37 +0000 (12:00 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 26 Oct 2009 12:00:37 +0000 (12:00 +0000)
src/core/nginx.c

index 226208773db3b1654ef1a74e654c3acd81d73da5..7387aa1baa1fde4ff2339ae288d8f678fcf14597 100644 (file)
@@ -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);
         }