diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2013-05-11 18:49:30 +0400 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-05-11 18:49:30 +0400 |
| commit | abef0366e9bb7641058e4d8ab2a495ccf6ff5028 (patch) | |
| tree | 30c9a6a8bf154e6cbb4255283cba7c94360eb76a /src/http/ngx_http_request.h | |
| parent | 1901e10d199a321ccf539fd13198746a1e6eeb10 (diff) | |
| download | nginx-abef0366e9bb7641058e4d8ab2a495ccf6ff5028.tar.gz nginx-abef0366e9bb7641058e4d8ab2a495ccf6ff5028.tar.bz2 | |
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.
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 5c62785e2..bd842df7e 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -295,7 +295,7 @@ typedef struct { ngx_http_addr_conf_t *addr_conf; ngx_http_conf_ctx_t *conf_ctx; -#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME +#if (NGX_HTTP_SSL && defined SSL_CTRL_SET_TLSEXT_HOSTNAME) ngx_str_t *ssl_servername; #if (NGX_PCRE) ngx_http_regex_t *ssl_servername_regex; |
