]> git.kaiwu.me - nginx.git/commitdiff
add SNI support in -V output
authorIgor Sysoev <igor@sysoev.ru>
Mon, 19 Oct 2009 12:35:01 +0000 (12:35 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 19 Oct 2009 12:35:01 +0000 (12:35 +0000)
src/core/nginx.c

index 29eee6a9981a928478bf67c5968e42ac377f51df..226208773db3b1654ef1a74e654c3acd81d73da5 100644 (file)
@@ -238,6 +238,9 @@ main(int argc, char *const *argv)
         if (ngx_show_configure) {
 #ifdef NGX_COMPILER
             ngx_log_stderr(0, "built by " NGX_COMPILER);
+#endif
+#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
+            ngx_log_stderr(0, "TLS SNI support enabled");
 #endif
             ngx_log_stderr(0, "configure arguments:" NGX_CONFIGURE);
         }