From: Pekka Riikonen Date: Fri, 18 Oct 2002 08:45:43 +0000 (+0000) Subject: Do not use silc_client_send_private_message_key anymore when X-Git-Tag: 1.2.beta1~1052 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=b014b2fb322c461ee0e8927d32c5a38546c99256;p=runtime.git Do not use silc_client_send_private_message_key anymore when setting the private message key with /KEY. --- 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;