summaryrefslogtreecommitdiff
path: root/security/ssh2/patches/patch-an
blob: 35e9ef845c2d103c5e1d44a40976d855a2fced06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-an,v 1.1 2005/08/24 09:13:24 kivinen Exp $

--- apps/ssh/ssh1proto.c.orig	2003-12-03 15:17:26.000000000 +0200
+++ apps/ssh/ssh1proto.c
@@ -3918,7 +3918,7 @@ void ssh1_handle_packet_smsg_auth_rsa_ch
                           SSH_FORMAT_UINT32_STR,
                           challenge_buf, challenge_len,
                           SSH_FORMAT_UINT32_STR,
-                          ssh1->session_id, 16,
+                          ssh1->session_id, (size_t) 16,
                           SSH_FORMAT_END);
         ssh_xfree(challenge_buf);
         ssh1->mode = SSH1_AGENT_OPERATION_IN_PROGRESS;