projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
519eee3
)
Fixed typo and a bug.
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Jul 2000 05:52:11 +0000
(
05:52
+0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Jul 2000 05:52:11 +0000
(
05:52
+0000)
apps/silcd/idlist.c
patch
|
blob
|
history
diff --git
a/apps/silcd/idlist.c
b/apps/silcd/idlist.c
index aa8409abfcbf18da0fe73e896cccf1519cddc44b..bc79e9dfd656733a5e8390155bb67cfc040364f3 100644
(file)
--- a/
apps/silcd/idlist.c
+++ b/
apps/silcd/idlist.c
@@
-20,8
+20,11
@@
/*
* $Id$
* $Log$
/*
* $Id$
* $Log$
- * Revision 1.1 2000/06/27 11:36:56 priikone
- * Initial revision
+ * Revision 1.2 2000/07/03 05:52:11 priikone
+ * Fixed typo and a bug.
+ *
+ * Revision 1.1.1.1 2000/06/27 11:36:56 priikone
+ * Importet from internal CVS/Added Log headers.
*
*
*/
*
*
*/
@@
-367,7
+370,7
@@
void silc_idlist_del_channel(SilcChannelList **list, SilcChannelList *entry)
if (entry->channel_key)
silc_cipher_free(entry->channel_key);
if (entry->key) {
if (entry->channel_key)
silc_cipher_free(entry->channel_key);
if (entry->key) {
- memset(entry->key, 0, entry->key_len);
+ memset(entry->key, 0, entry->key_len
/ 8
);
silc_free(entry->key);
}
memset(entry->iv, 0, sizeof(entry->iv));
silc_free(entry->key);
}
memset(entry->iv, 0, sizeof(entry->iv));