From aec72593f265b09bc53291d00300490a5d0d9911 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 21 Jul 2020 14:59:42 +0000 Subject: [PATCH] SASL EXTERNAL doesn't necessitate a certificate --- src/common/inbound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/inbound.c b/src/common/inbound.c index eb7054f2..7ac3c71a 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -1805,7 +1805,7 @@ inbound_cap_ls (server *serv, char *nick, char *extensions_str, /* if the SASL password is set AND auth mode is set to SASL, request SASL auth */ if (!g_strcmp0 (extension, "sasl") && ((serv->loginmethod == LOGIN_SASL && strlen (serv->password) != 0) - || (serv->loginmethod == LOGIN_SASLEXTERNAL && serv->have_cert))) + || serv->loginmethod == LOGIN_SASLEXTERNAL)) { if (value) {