diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-09-01 14:19:01 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-09-01 14:19:01 +0000 |
commit | f100c7816dd910907597f716bf561f3361f88e1a (patch) | |
tree | c11cc9167bc57ab241789c2956811854c4f33ac6 /src/mail/ngx_mail.c | |
parent | 0c16f73b4e376439a3fb6ae71e45b997cba9e971 (diff) | |
download | nginx-f100c7816dd910907597f716bf561f3361f88e1a.tar.gz nginx-f100c7816dd910907597f716bf561f3361f88e1a.zip |
*) listen ssl
*) no default ssl_cetificate and ssl_cetificate_key
Diffstat (limited to 'src/mail/ngx_mail.c')
-rw-r--r-- | src/mail/ngx_mail.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mail/ngx_mail.c b/src/mail/ngx_mail.c index 73668a538..aa77364de 100644 --- a/src/mail/ngx_mail.c +++ b/src/mail/ngx_mail.c @@ -261,6 +261,9 @@ ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) in_addr->addr = imls[l].addr; in_addr->ctx = imls[l].ctx; in_addr->bind = imls[l].bind; +#if (NGX_MAIL_SSL) + in_addr->ssl = imls[l].ssl; +#endif } /* optimize the lists of ports and addresses */ @@ -370,6 +373,10 @@ ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) imip->addrs[i].addr_text.len = len; imip->addrs[i].addr_text.data = text; + +#if (NGX_MAIL_SSL) + imip->addrs[i].ssl = in_addr[i].ssl; +#endif } if (done) { |