summaryrefslogtreecommitdiff
path: root/security/ssh2/patches/patch-am
diff options
context:
space:
mode:
authorkivinen <kivinen@pkgsrc.org>2005-08-24 09:13:24 +0000
committerkivinen <kivinen@pkgsrc.org>2005-08-24 09:13:24 +0000
commitbe30f7a7f233a076fe61081c84a5314809cf45b7 (patch)
tree898273a710555cd3c21cf63f56178c10cbda750e /security/ssh2/patches/patch-am
parente772a967651e71ae491abe733754f7edf620c026 (diff)
downloadpkgsrc-be30f7a7f233a076fe61081c84a5314809cf45b7.tar.gz
Fixed ssh_encode_* calls to have casts to SshUInt32 or size_t
to get it working properly on the 64-bit platform (amd64).
Diffstat (limited to 'security/ssh2/patches/patch-am')
-rw-r--r--security/ssh2/patches/patch-am13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/ssh2/patches/patch-am b/security/ssh2/patches/patch-am
new file mode 100644
index 00000000000..404076dfa52
--- /dev/null
+++ b/security/ssh2/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2005/08/24 09:13:24 kivinen Exp $
+
+--- apps/ssh/ssh-signer2.c.orig 2003-12-03 15:17:26.000000000 +0200
++++ apps/ssh/ssh-signer2.c
+@@ -264,7 +264,7 @@ SSH_FSM_STEP(signer_send_error)
+ (unsigned int) gdata->error_code_to_ssh2,
+ SSH_FORMAT_UINT32_STR, gdata->error_message_to_ssh2,
+ strlen(gdata->error_message_to_ssh2),
+- SSH_FORMAT_UINT32_STR, "en", 2,
++ SSH_FORMAT_UINT32_STR, "en", (size_t) 2,
+ SSH_FORMAT_END);
+
+ ssh_packet_wrapper_can_receive(gdata->wrapper, FALSE);