Modules compatibility: removed dependencies on NGX_MAIL_SSL.
External structures are now identical regardless of mail SSL module
compiled in or not.
Maxim Dounin
5 years ago
34 | 34 | |
35 | 35 | unsigned bind:1; |
36 | 36 | unsigned wildcard:1; |
37 | #if (NGX_MAIL_SSL) | |
38 | 37 | unsigned ssl:1; |
39 | #endif | |
40 | 38 | #if (NGX_HAVE_INET6) |
41 | 39 | unsigned ipv6only:1; |
42 | 40 | #endif |
53 | 51 | typedef struct { |
54 | 52 | ngx_mail_conf_ctx_t *ctx; |
55 | 53 | ngx_str_t addr_text; |
56 | #if (NGX_MAIL_SSL) | |
57 | 54 | ngx_uint_t ssl; /* unsigned ssl:1; */ |
58 | #endif | |
59 | 55 | } ngx_mail_addr_conf_t; |
60 | 56 | |
61 | 57 | typedef struct { |