summaryrefslogtreecommitdiff
path: root/security/ssh2/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'security/ssh2/patches/patch-ao')
-rw-r--r--security/ssh2/patches/patch-ao17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/ssh2/patches/patch-ao b/security/ssh2/patches/patch-ao
new file mode 100644
index 00000000000..cf5c2729401
--- /dev/null
+++ b/security/ssh2/patches/patch-ao
@@ -0,0 +1,17 @@
+$NetBSD: patch-ao,v 1.1 2005/08/24 09:13:24 kivinen Exp $
+
+--- apps/ssh/sshchsession.c.orig 2003-12-03 15:17:23.000000000 +0200
++++ apps/ssh/sshchsession.c
+@@ -2315,9 +2315,9 @@ void ssh_channel_session_eof_callback(vo
+ {
+ ssh_encode_buffer(&buffer,
+ SSH_FORMAT_UINT32, (SshUInt32) -exit_status,
+- SSH_FORMAT_BOOLEAN, FALSE,
+- SSH_FORMAT_UINT32_STR, NULL, 0,
+- SSH_FORMAT_UINT32_STR, NULL, 0,
++ SSH_FORMAT_BOOLEAN, (Boolean) FALSE,
++ SSH_FORMAT_UINT32_STR, NULL, (size_t) 0,
++ SSH_FORMAT_UINT32_STR, NULL, (size_t) 0,
+ SSH_FORMAT_END);
+
+