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
/
protocol.c
diff --git
a/apps/silcd/protocol.c
b/apps/silcd/protocol.c
index cea428ca50164802dec07327ac020aec9b868d6d..240771e25df889f48ccfde83b14e99353b8b7914 100644
(file)
--- a/
apps/silcd/protocol.c
+++ b/
apps/silcd/protocol.c
@@
-875,6
+875,8
@@
SILC_TASK_CALLBACK(silc_server_protocol_connection_auth)
silc_server_get_public_key_auth(server, ctx->auth_data,
sign, &auth_data_len,
ctx->ske);
+ auth_data = silc_calloc(auth_data_len, sizeof(*auth_data));
+ memcpy(auth_data, sign, auth_data_len);
break;
}
}