projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial code commit for Toolkit 1.1.
[silc.git]
/
apps
/
silcd
/
server.c
diff --git
a/apps/silcd/server.c
b/apps/silcd/server.c
index f5a2ffe71fd2d1fcb9d9ac48ca36d3541245f459..92afbb91b5a9b62d115b9c41fc74d7df25f0eaac 100644
(file)
--- a/
apps/silcd/server.c
+++ b/
apps/silcd/server.c
@@
-4129,7
+4129,7
@@
bool silc_server_create_channel_key(SilcServer server,
SilcUInt32 key_len)
{
int i;
SilcUInt32 key_len)
{
int i;
- unsigned char channel_key[32], hash[
32
];
+ unsigned char channel_key[32], hash[
SILC_HASH_MAXLEN
];
SilcUInt32 len;
if (channel->mode & SILC_CHANNEL_MODE_PRIVKEY) {
SilcUInt32 len;
if (channel->mode & SILC_CHANNEL_MODE_PRIVKEY) {
@@
-4212,7
+4212,7
@@
SilcChannelEntry silc_server_save_channel_key(SilcServer server,
{
SilcChannelKeyPayload payload = NULL;
SilcChannelID *id = NULL;
{
SilcChannelKeyPayload payload = NULL;
SilcChannelID *id = NULL;
- unsigned char *tmp, hash[
32
];
+ unsigned char *tmp, hash[
SILC_HASH_MAXLEN
];
SilcUInt32 tmp_len;
char *cipher;
SilcUInt32 tmp_len;
char *cipher;