add SNI support in -V output

This commit is contained in:
Igor Sysoev 2009-10-19 12:35:01 +00:00
parent 145dcc180a
commit a1e36777f4

View File

@ -238,6 +238,9 @@ main(int argc, char *const *argv)
if (ngx_show_configure) { if (ngx_show_configure) {
#ifdef NGX_COMPILER #ifdef NGX_COMPILER
ngx_log_stderr(0, "built by " 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 #endif
ngx_log_stderr(0, "configure arguments:" NGX_CONFIGURE); ngx_log_stderr(0, "configure arguments:" NGX_CONFIGURE);
} }