From 96bee64d3807c79aaa507596f1064fa3c6597267 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 1 Apr 2001 21:47:32 +0000 Subject: [PATCH] updates. --- CHANGES | 3 +++ apps/silcd/idlist.c | 3 --- apps/silcd/idlist.h | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 235599ae..22dfb435 100644 --- a/CHANGES +++ b/CHANGES @@ -78,6 +78,9 @@ Sun Apr 1 19:49:34 EEST 2001 Pekka Riikonen the old auth data. Affected files silcd/command_reply.c and silcd/server.c. + * Removed the `pkcs' field from the SilcIDListData structure + in the server; it is not used. Affected file silcd/idlist.h. + Sat Mar 31 15:38:36 EEST 2001 Pekka Riikonen * Fixed packet processing on slow links. Partial packets were diff --git a/apps/silcd/idlist.c b/apps/silcd/idlist.c index a15acc16..99b375e7 100644 --- a/apps/silcd/idlist.c +++ b/apps/silcd/idlist.c @@ -40,7 +40,6 @@ void silc_idlist_add_data(void *entry, SilcIDListData idata) data->hmac = idata->hmac; data->hmac_key = idata->hmac_key; data->hmac_key_len = idata->hmac_key_len; - data->pkcs = idata->pkcs; data->public_key = idata->public_key; data->last_receive = idata->last_receive; data->last_sent = idata->last_sent; @@ -62,8 +61,6 @@ void silc_idlist_del_data(void *entry) memset(idata->hmac_key, 0, idata->hmac_key_len); silc_free(idata->hmac_key); } - if (idata->pkcs) - silc_pkcs_free(idata->pkcs); if (idata->public_key) silc_pkcs_public_key_free(idata->public_key); } diff --git a/apps/silcd/idlist.h b/apps/silcd/idlist.h index 93b66dd8..57eb1d06 100644 --- a/apps/silcd/idlist.h +++ b/apps/silcd/idlist.h @@ -59,8 +59,7 @@ typedef struct { unsigned char *hmac_key; unsigned int hmac_key_len; - /* PKCS and public key */ - SilcPKCS pkcs; + /* public key */ SilcPublicKey public_key; long last_receive; /* Time last received data */ -- 2.24.0