From 5297e48d042e2ef807cb497aa59fbe13bbe735cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 2 Apr 2002 23:07:31 +0000 Subject: [PATCH] Revert to vendor version, what little was left of our local patches here was incorrect. Pointed out by: Markus Friedl --- crypto/openssh/sshconnect2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/openssh/sshconnect2.c b/crypto/openssh/sshconnect2.c index 89faec62d786..283b8d29daa5 100644 --- a/crypto/openssh/sshconnect2.c +++ b/crypto/openssh/sshconnect2.c @@ -457,7 +457,7 @@ userauth_passwd(Authctxt *authctxt) packet_put_cstring(authctxt->service); packet_put_cstring(authctxt->method->name); packet_put_char(0); - ssh_put_password(password); + packet_put_cstring(password); memset(password, 0, strlen(password)); xfree(password); packet_add_padding(64); @@ -810,7 +810,7 @@ input_userauth_info_req(int type, u_int32_t seq, void *ctxt) response = read_passphrase(prompt, echo ? RP_ECHO : 0); - ssh_put_password(response); + packet_put_cstring(response); memset(response, 0, strlen(response)); xfree(response); xfree(prompt);