SilcChannelEntry
silc_idlist_add_channel(SilcIDList id_list, char *channel_name, int mode,
SilcChannelID *id, SilcServerEntry router,
- SilcCipher channel_key)
+ SilcCipher channel_key, char *hmac)
{
SilcChannelEntry channel;
channel->id = id;
channel->router = router;
channel->channel_key = channel_key;
+ channel->hmac = hmac ? strdup(hmac) : strdup("hmac-sha1-96");
silc_list_init(channel->user_list, struct SilcChannelClientEntryStruct,
channel_list);