changeset 3210:794613efbb71

add SNI support in -V output
author Igor Sysoev <igor@sysoev.ru>
date Mon, 19 Oct 2009 12:35:01 +0000
parents b82c623a607e
children 3ea03c1fe050
files src/core/nginx.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -239,6 +239,9 @@ main(int argc, char *const *argv)
 #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);
         }