From f100c7816dd910907597f716bf561f3361f88e1a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 1 Sep 2008 14:19:01 +0000 Subject: *) listen ssl *) no default ssl_cetificate and ssl_cetificate_key --- src/mail/ngx_mail.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mail/ngx_mail.h') diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h index 1efff5b51..03297e2b4 100644 --- a/src/mail/ngx_mail.h +++ b/src/mail/ngx_mail.h @@ -34,6 +34,9 @@ typedef struct { ngx_mail_conf_ctx_t *ctx; unsigned bind:1; +#if (NGX_MAIL_SSL) + unsigned ssl:1; +#endif } ngx_mail_listen_t; @@ -41,6 +44,9 @@ typedef struct { in_addr_t addr; ngx_mail_conf_ctx_t *ctx; ngx_str_t addr_text; +#if (NGX_MAIL_SSL) + ngx_uint_t ssl; /* unsigned ssl:1; */ +#endif } ngx_mail_in_addr_t; @@ -60,6 +66,9 @@ typedef struct { in_addr_t addr; ngx_mail_conf_ctx_t *ctx; unsigned bind:1; +#if (NGX_MAIL_SSL) + unsigned ssl:1; +#endif } ngx_mail_conf_in_addr_t; -- cgit