From b014b2fb322c461ee0e8927d32c5a38546c99256 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Fri, 18 Oct 2002 08:45:43 +0000 Subject: [PATCH] Do not use silc_client_send_private_message_key anymore when setting the private message key with /KEY. --- TODO | 6 ------ apps/irssi/src/silc/core/silc-channels.c | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/TODO b/TODO index d1af4714..3adaf961 100644 --- a/TODO +++ b/TODO @@ -11,12 +11,6 @@ TODO/bugs in Irssi SILC client TODO/bugs In SILC Client Library ================================ - o The PRIVATE_MESSAGE_KEY packet is not handled (it is implemented - though). This should be added and perhaps new client operation - should be added to notify application that it was received and - set the key only if application wishes to set (accept the key) it - (Do this to 0.9.x). - o Testing diff --git a/apps/irssi/src/silc/core/silc-channels.c b/apps/irssi/src/silc/core/silc-channels.c index f2ed9926..8c03fcdb 100644 --- a/apps/irssi/src/silc/core/silc-channels.c +++ b/apps/irssi/src/silc/core/silc-channels.c @@ -646,8 +646,11 @@ static void command_key(const char *data, SILC_SERVER_REC *server, /* Send the key to the remote client so that it starts using it too. */ + /* XXX for now we don't do this. This feature is pretty stupid + and should perhaps be removed altogether from SILC. silc_client_send_private_message_key(silc_client, conn, client_entry, TRUE); + */ } else if (type == 2) { /* Set private channel key */ char *cipher = NULL, *hmac = NULL; -- 2.24.0