]> jfr.im git - solanum.git/commit - modules/m_sasl.c
modules/m_sasl.c: use IsSecure() instead of IsSSL()
authorAaron Jones <redacted>
Fri, 4 Jun 2021 22:53:09 +0000 (23:53 +0100)
committerAaron Jones <redacted>
Tue, 8 Jun 2021 04:59:43 +0000 (04:59 +0000)
commit8b7110d6ba07591bdad87a4cccdcad47d5c80147
treef619270ccc53a51f4fb97316554478454688b4b0
parentea51635c016b132b4674468ab06b503d4fac74cd
modules/m_sasl.c: use IsSecure() instead of IsSSL()

Further to our implementation of the concept of "secure origins", we can
indicate to services that the client is connected securely, rather than
just that the client is using TLS. For example, connections from the
local host (from the IRCd's perspective) can be considered secure
against eavesdropping.

Allow this to factor into services' decision on whether to allow an SASL
negotiation or not. Atheme currently assumes this means the client is
using TLS, but I have changed that in atheme/atheme@412d50103c1d8c2a
modules/m_sasl.c