projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aa9c27
)
Fixed CUMODE founder mode authentication to not check client's
author
Pekka Riikonen
<priikone@silcnet.org>
Tue, 3 Dec 2002 21:32:57 +0000
(21:32 +0000)
committer
Pekka 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
patch
|
blob
|
history
diff --git
a/apps/silcd/command.c
b/apps/silcd/command.c
index 1dfc676a64d6b42fde302e2e1f91c2406a73552d..01c85819a9d97db24209cb97400c511c3b4b3926 100644
(file)
--- 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;