From 627bbca0aabedbc65e90ddc900b7c5aa3bedab36 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 3 Dec 2002 21:32:57 +0000 Subject: [PATCH] Fixed CUMODE founder mode authentication to not check client's public key, it's not supposed to. --- apps/silcd/command.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/silcd/command.c b/apps/silcd/command.c index 1dfc676a..01c85819 100644 --- a/apps/silcd/command.c +++ b/apps/silcd/command.c @@ -3214,9 +3214,7 @@ SILC_SERVER_CMD_FUNC(cumode) SilcHashTableList htl; if (!(channel->mode & SILC_CHANNEL_MODE_FOUNDER_AUTH) || - !channel->founder_key || !idata->public_key || - !silc_pkcs_public_key_compare(channel->founder_key, - idata->public_key)) { + !channel->founder_key) { silc_server_command_send_status_reply(cmd, SILC_COMMAND_CUMODE, SILC_STATUS_ERR_AUTH_FAILED, 0); goto out; -- 2.43.0