]> andersk Git - openssh.git/blobdiff - sshconnect2.c
- (djm) OpenBSD CVS:
[openssh.git] / sshconnect2.c
index 9681ca2d4d83dd05be54a240c61693d2922fc25f..12335e80eefbbff20de665a4765f9006f9f54327 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshconnect2.c,v 1.47 2001/02/11 12:59:25 markus Exp $");
+RCSID("$OpenBSD: sshconnect2.c,v 1.48 2001/02/15 23:19:59 markus Exp $");
 
 #include <openssl/bn.h>
 #include <openssl/md5.h>
@@ -658,7 +658,7 @@ userauth_passwd(Authctxt *authctxt)
        packet_put_cstring(authctxt->service);
        packet_put_cstring(authctxt->method->name);
        packet_put_char(0);
-       packet_put_cstring(password);
+       ssh_put_password(password);
        memset(password, 0, strlen(password));
        xfree(password);
        packet_send();
@@ -928,7 +928,7 @@ input_userauth_info_req(int type, int plen, void *ctxt)
 
                response = cli_prompt(prompt, echo);
 
-               packet_put_cstring(response);
+               ssh_put_password(response);
                memset(response, 0, strlen(response));
                xfree(response);
                xfree(prompt);
This page took 0.03868 seconds and 4 git commands to generate.