diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 18:44:17 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 18:44:17 +0300 |
commit | 8fd8c32ccf7987f51d774edfcf7f5a65c75c137a (patch) | |
tree | 24450b882b29d4972fce76966b6f0f5d743f7a19 /src/core/ngx_module.h | |
parent | 844c78556bc93343dd1c3c9236b5c16f4e2eac39 (diff) | |
download | nginx-8fd8c32ccf7987f51d774edfcf7f5a65c75c137a.tar.gz nginx-8fd8c32ccf7987f51d774edfcf7f5a65c75c137a.zip |
Modules compatibility: compatibility with NGX_HTTP_SSL.
With this change it is now possible to load modules compiled without
the "--with-http_ssl_module" configure option into nginx binary compiled
with it, and vice versa (if a module doesn't use ssl-specific functions),
assuming both use the "--with-compat" option.
Diffstat (limited to 'src/core/ngx_module.h')
-rw-r--r-- | src/core/ngx_module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h index 4d0db44c6..8cf3210e8 100644 --- a/src/core/ngx_module.h +++ b/src/core/ngx_module.h @@ -139,7 +139,7 @@ #define NGX_MODULE_SIGNATURE_23 "0" #endif -#if (NGX_HTTP_SSL) +#if (NGX_HTTP_SSL || NGX_COMPAT) #define NGX_MODULE_SIGNATURE_24 "1" #else #define NGX_MODULE_SIGNATURE_24 "0" |