projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates.
[runtime.git]
/
lib
/
silccore
/
silcauth.c
diff --git
a/lib/silccore/silcauth.c
b/lib/silccore/silcauth.c
index cd08d5edf7545f8b27d598c7ce8b7ce336b975af..153058609f607080e151ab1a7493ae95abe9c3f6 100644
(file)
--- a/
lib/silccore/silcauth.c
+++ b/
lib/silccore/silcauth.c
@@
-329,7
+329,7
@@
SilcBuffer silc_key_agreement_payload_encode(char *hostname,
unsigned int port)
{
SilcBuffer buffer;
- unsigned int len =
strlen(hostname)
;
+ unsigned int len =
hostname ? strlen(hostname) : 0
;
SILC_LOG_DEBUG(("Encoding Key Agreement Payload"));