projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97e5537
)
Fixed bug in silc_hmac_make.
author
Pekka Riikonen
<priikone@silcnet.org>
Fri, 14 Jul 2000 09:12:24 +0000
(09:12 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Fri, 14 Jul 2000 09:12:24 +0000
(09:12 +0000)
lib/silccrypt/silchmac.c
patch
|
blob
|
history
diff --git
a/lib/silccrypt/silchmac.c
b/lib/silccrypt/silchmac.c
index 8554ddbddef92b5ca14233ec3664f9ea1eb8fd61..30f36c3f98a8cbc5593f80a9fca2151af9494a0b 100644
(file)
--- a/
lib/silccrypt/silchmac.c
+++ b/
lib/silccrypt/silchmac.c
@@
-20,6
+20,9
@@
/*
* $Id$
* $Log$
+ * Revision 1.3 2000/07/14 09:12:24 priikone
+ * Fixed bug in silc_hmac_make.
+ *
* Revision 1.2 2000/07/05 06:08:43 priikone
* Global cosmetic change.
*
@@
-152,5
+155,6
@@
void silc_hmac_set_key(SilcHmac hmac, const unsigned char *key,
unsigned int key_len)
{
hmac->key = silc_calloc(key_len, sizeof(unsigned char));
+ hmac->key_len = key_len;
memcpy(hmac->key, key, key_len);
}