Fixed CUMODE founder mode authentication to not check client's
authorPekka Riikonen <priikone@silcnet.org>
Tue, 3 Dec 2002 21:32:57 +0000 (21:32 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 3 Dec 2002 21:32:57 +0000 (21:32 +0000)
public key, it's not supposed to.

apps/silcd/command.c

index 1dfc676a64d6b42fde302e2e1f91c2406a73552d..01c85819a9d97db24209cb97400c511c3b4b3926 100644 (file)
@@ -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;