projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
lib
/
silccrypt
/
silchmac.c
diff --git
a/lib/silccrypt/silchmac.c
b/lib/silccrypt/silchmac.c
index 21bb1e5f94a73e29dfa252dfd3c93421f702a35d..dfde14da034cb6333c9da80c2863d9c6cf0759c5 100644
(file)
--- a/
lib/silccrypt/silchmac.c
+++ b/
lib/silccrypt/silchmac.c
@@
-82,7
+82,7
@@
static void silc_hmac_init_internal(SilcHmac hmac, unsigned char *key,
/* Registers a new HMAC into the SILC. This function is used at the
initialization of the SILC. */
/* Registers a new HMAC into the SILC. This function is used at the
initialization of the SILC. */
-bool silc_hmac_register(SilcHmacObject *hmac)
+bool silc_hmac_register(
const
SilcHmacObject *hmac)
{
#ifndef SILC_EPOC
SilcHmacObject *new;
{
#ifndef SILC_EPOC
SilcHmacObject *new;
@@
-152,7
+152,7
@@
bool silc_hmac_register_default(void)
int i;
for (i = 0; silc_default_hmacs[i].name; i++)
int i;
for (i = 0; silc_default_hmacs[i].name; i++)
- silc_hmac_register(
(SilcHmacObject *)
&(silc_default_hmacs[i]));
+ silc_hmac_register(&(silc_default_hmacs[i]));
#endif /* SILC_EPOC */
return TRUE;
#endif /* SILC_EPOC */
return TRUE;