commit | 8ffea50797e5bbb34d5d04f1f2e15b7afc6ae81f | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Oct 26 12:00:37 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Oct 26 12:00:37 2009 +0000 |
tree | d56bd9658d0066d5061fae46f5df8841aa21ccea | |
parent | baf8e409bacae99139c46f85d2227acb9301e485 [diff] |
fix r3211
diff --git a/src/core/nginx.c b/src/core/nginx.c index 2262087..7387aa1 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c
@@ -239,8 +239,12 @@ #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); }