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
/
command_reply.c
diff --git
a/apps/silcd/command_reply.c
b/apps/silcd/command_reply.c
index bd4052a47e619e037e1c0c1b76e0006c54014339..ccb425f00d51b480495018e18a811caa1b1aecba 100644
(file)
--- a/
apps/silcd/command_reply.c
+++ b/
apps/silcd/command_reply.c
@@
-1137,6
+1137,7
@@
SILC_SERVER_CMD_REPLY_FUNC(getkey)
}
client->data.public_key = public_key;
+ public_key = NULL;
} else if (id_type == SILC_ID_SERVER) {
server_id = silc_id_payload_get_id(idp);
@@
-1150,6
+1151,7
@@
SILC_SERVER_CMD_REPLY_FUNC(getkey)
}
server_entry->data.public_key = public_key;
+ public_key = NULL;
} else {
goto out;
}