From e7ecca35b79220f947ae30c98f80688db1d2a101 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 22 Apr 2014 15:26:55 +0300 Subject: [PATCH] Remove obsolete backwards support code Remove the old zero-client id backwards support when starting SKE protocol. --- lib/silcclient/client_connect.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/silcclient/client_connect.c b/lib/silcclient/client_connect.c index 145f398f..fd0e5462 100644 --- a/lib/silcclient/client_connect.c +++ b/lib/silcclient/client_connect.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2006 - 2007 Pekka Riikonen + Copyright (C) 2006 - 2014 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -510,12 +510,6 @@ SILC_FSM_STATE(silc_client_st_connect_key_exchange) /** Run key exchange (TCP) */ silc_fsm_next(fsm, silc_client_st_connect_auth_resolve); - /* Old server version requires empty Client ID in packets. Remove this - backwards support somepoint after 1.1 server is released. */ - memset(&cid, 0, sizeof(cid)); - cid.ip.data_len = 4; - silc_packet_set_ids(conn->stream, SILC_ID_CLIENT, &cid, 0, NULL); - SILC_FSM_CALL(conn->internal->op = silc_ske_initiator(conn->internal->ske, conn->stream, ¶ms, NULL)); -- 2.24.0