summaryrefslogtreecommitdiff
path: root/security/ssh2/patches/patch-bb
blob: 96fce95fa58f7764ef4cc9c50d33a21734fe9139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bb,v 1.1 2006/09/22 13:58:46 kivinen Exp $

--- apps/ssh/lib/sshproto/sshauthc.c.orig	2003-12-03 15:17:34.000000000 +0200
+++ apps/ssh/lib/sshproto/sshauthc.c
@@ -378,7 +378,7 @@ void ssh_authc_completion_proc(SshAuthCl
                                           auth->methods[i].name),
                                  SSH_FORMAT_DATA,
                                    packet ? ssh_buffer_ptr(packet) : NULL,
-                                   packet ? ssh_buffer_len(packet) : 0,
+                                   packet ? ssh_buffer_len(packet) : (size_t) 0,
                                  SSH_FORMAT_END);
 
       /* Mark that we have one more request out waiting for reply. */