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]
/
apps
/
silcd
/
idlist.c
diff --git
a/apps/silcd/idlist.c
b/apps/silcd/idlist.c
index 0360ad3713ea19887d1f7fc6482d83fcab5b9e32..5788e65656a497a5f81c1e9e62998b0af0c1f612 100644
(file)
--- a/
apps/silcd/idlist.c
+++ b/
apps/silcd/idlist.c
@@
-576,7
+576,7
@@
silc_idlist_add_channel(SilcIDList id_list, char *channel_name, int mode,
channel->channel_key = channel_key;
channel->hmac = hmac;
if (!channel->hmac)
channel->channel_key = channel_key;
channel->hmac = hmac;
if (!channel->hmac)
- if (!silc_hmac_alloc(
"hmac-sha1-96"
, NULL, &channel->hmac)) {
+ if (!silc_hmac_alloc(
SILC_DEFAULT_HMAC
, NULL, &channel->hmac)) {
silc_free(channel);
return NULL;
}
silc_free(channel);
return NULL;
}