changeset 3231:e7c1fdbe5e98

fix r3211
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 12:00:37 +0000
parents a7491af45540
children 27951ca037e6
files src/core/nginx.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
         }