aboutsummaryrefslogtreecommitdiffstats
path: root/security/ssh2/files/patch-apps::ssh::ssh-agent2.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/ssh2/files/patch-apps::ssh::ssh-agent2.c')
-rw-r--r--security/ssh2/files/patch-apps::ssh::ssh-agent2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/ssh2/files/patch-apps::ssh::ssh-agent2.c b/security/ssh2/files/patch-apps::ssh::ssh-agent2.c
new file mode 100644
index 000000000000..5ca8b5130566
--- /dev/null
+++ b/security/ssh2/files/patch-apps::ssh::ssh-agent2.c
@@ -0,0 +1,11 @@
+--- apps/ssh/ssh-agent2.c.orig 2003-12-03 15:17:27.000000000 +0200
++++ apps/ssh/ssh-agent2.c
+@@ -1802,7 +1802,7 @@ void ssh_agenti_ssh1_encode_mp(SshBuffer
+ num_buf = ssh_xmalloc(num_buf_len);
+ ssh_mp_get_buf(num_buf, num_buf_len, n);
+ ssh_encode_buffer(buffer,
+- SSH_FORMAT_DATA, len_buf, 2,
++ SSH_FORMAT_DATA, len_buf, (size_t) 2,
+ SSH_FORMAT_DATA, num_buf, num_buf_len,
+ SSH_FORMAT_END);
+ ssh_xfree(num_buf);