From: Pekka Riikonen Date: Tue, 3 Dec 2002 21:32:57 +0000 (+0000) Subject: Fixed CUMODE founder mode authentication to not check client's X-Git-Tag: silc.client.0.9.10~21 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=627bbca0aabedbc65e90ddc900b7c5aa3bedab36 Fixed CUMODE founder mode authentication to not check client's public key, it's not supposed to. --- 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;