comparison src/http/ngx_http_request.h @ 5200:9d83ec073c51

Fixed build with --with-mail_ssl_module. If nginx was compiled without --with-http_ssl_module, but with some other module which uses OpenSSL (e.g. --with-mail_ssl_module), insufficient preprocessor check resulted in build failure. The problem was introduced by e0a3714a36f8 (1.3.14). Reported by Roman Arutyunyan.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 11 May 2013 18:49:30 +0400
parents c0f7b94e88ba
children 06fbbde04098
comparison
equal deleted inserted replaced
5199:3494f14aa46a 5200:9d83ec073c51
293 293
294 typedef struct { 294 typedef struct {
295 ngx_http_addr_conf_t *addr_conf; 295 ngx_http_addr_conf_t *addr_conf;
296 ngx_http_conf_ctx_t *conf_ctx; 296 ngx_http_conf_ctx_t *conf_ctx;
297 297
298 #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME 298 #if (NGX_HTTP_SSL && defined SSL_CTRL_SET_TLSEXT_HOSTNAME)
299 ngx_str_t *ssl_servername; 299 ngx_str_t *ssl_servername;
300 #if (NGX_PCRE) 300 #if (NGX_PCRE)
301 ngx_http_regex_t *ssl_servername_regex; 301 ngx_http_regex_t *ssl_servername_regex;
302 #endif 302 #endif
303 #endif 303 #endif