]> granicus.if.org Git - ejabberd/commit
ejabberd_c2s: Fix priority of 'certfile' option
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sat, 5 Aug 2017 16:59:32 +0000 (18:59 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sat, 5 Aug 2017 16:59:32 +0000 (18:59 +0200)
commite1aaa1c99dd543b7a72ed6f62336accb85516214
treeb624fd52cc19fc784e05177d2220747d82f3239a
parent101e808124a0bc6bb97f92de4e1961b544c1dd7b
ejabberd_c2s: Fix priority of 'certfile' option

Use the 'certfile' listener option rather than a 'domain_certfile' for
ejabberd_c2s listeners that have "tls: true" configured.  A
'domain_certfile' should only be preferred for STARTTLS connections.

Closes #1911.
src/ejabberd_c2s.erl