]> git.kaiwu.me - nginx.git/commit
Mail: fixed error message about missing ssl_certificate_key.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 24 Apr 2018 12:28:58 +0000 (15:28 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 24 Apr 2018 12:28:58 +0000 (15:28 +0300)
commit5d3a854ebd4f59854ade798b94070ff1ee3eddcf
tree6fc0b8b6881403a38a1d88250e2a3e7c70b74afe
parent8b4c7725d2015637584c4fa66667ad1ced21edb8
Mail: fixed error message about missing ssl_certificate_key.

In 51e1f047d15d, the "ssl" directive name was incorrectly hardcoded
in the error message shown when there are some SSL keys defined, but
not for all certificates.  Right approach is to use the "mode" variable,
which can be either "ssl" or "starttls".
src/mail/ngx_mail_ssl_module.c