pkgsrc/security/ssh2/patches/patch-au
kivinen 08fc2550dd Fixed RSA e=3 bug (most likely nobody uses e=3 rsa keys
on ssh anyways, but better to make sure). Fixed some
	more ssh_*_{en,de}code calls missing necessary casts.
	Disabled x11-security extension on x86_64 as it does not
	work there (uses xauth instead). Updated pkgrevision.
2006-09-22 13:58:46 +00:00

24 lines
1 KiB
Text

$NetBSD: patch-au,v 1.1 2006/09/22 13:58:46 kivinen Exp $
--- apps/ssh/authc-passwd.c.orig 2003-12-03 15:17:24.000000000 +0200
+++ apps/ssh/authc-passwd.c
@@ -136,7 +136,8 @@ void ssh_client_auth_passwd(SshAuthClien
b = ssh_xbuffer_allocate();
ret_val = ssh_encode_buffer(b,
- SSH_FORMAT_BOOLEAN, FALSE,
+ SSH_FORMAT_BOOLEAN,
+ (Boolean) FALSE,
SSH_FORMAT_UINT32_STR, password,
strlen(password),
SSH_FORMAT_END);
@@ -229,7 +230,8 @@ void ssh_client_auth_passwd(SshAuthClien
b = ssh_xbuffer_allocate();
ret_val = ssh_encode_buffer(b,
- SSH_FORMAT_BOOLEAN, TRUE,
+ SSH_FORMAT_BOOLEAN,
+ (Boolean) TRUE,
SSH_FORMAT_UINT32_STR,
old_password, strlen(old_password),
SSH_FORMAT_UINT32_STR,