summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-30 09:49:08 +1100
committerDamien Miller <djm@mindrot.org>2000-09-30 09:49:08 +1100
commit3dfb0dd7fd3e792e73e27a213f53b3fe452b8e45 (patch)
tree9a7251d0f01a726aac7cda14f759081a0adaccde /sshd.c
parentbea034a5bfcce67b1149b28a57c58a605170e68f (diff)
- (djm) Support in bsd-snprintf.c for long long conversions from
Ben Lindstrom <mouring@pconline.com> - (djm) Cleanup NeXT support from Ben Lindstrom <mouring@pconline.com>
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index 7fed51c4..ae22cd95 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1263,7 +1263,7 @@ do_ssh1_kex()
if (len < 0 || len > sizeof(session_key))
fatal("do_connection: bad len from %s: session_key_int %d > sizeof(session_key) %d",
get_remote_ipaddr(),
- len, sizeof(session_key));
+ len, (int) sizeof(session_key));
memset(session_key, 0, sizeof(session_key));
BN_bn2bin(session_key_int, session_key + sizeof(session_key) - len);