updates.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 1 Apr 2001 21:47:32 +0000 (21:47 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 1 Apr 2001 21:47:32 +0000 (21:47 +0000)
CHANGES
apps/silcd/idlist.c
apps/silcd/idlist.h

diff --git a/CHANGES b/CHANGES
index 235599ae27b0b47a8f6f950820d2722983b34424..22dfb435218f908a6c0a3d3a4760fe165b28bc2c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -78,6 +78,9 @@ Sun Apr  1 19:49:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
          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 <priikone@poseidon.pspt.fi>
 
        * Fixed packet processing on slow links.  Partial packets were
index a15acc164a29ac1b864e110264377a47f9b13fea..99b375e762eab456bd8569cae99a46e7af18e477 100644 (file)
@@ -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);
 }
index 93b66dd89ed0e04bf66343ae9f6ed5a4b0b30008..57eb1d065931097edb11aa24c067e18aed12423a 100644 (file)
@@ -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 */