diff options
author | Damien Miller <djm@mindrot.org> | 2001-11-12 01:02:52 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-11-12 01:02:52 +0100 |
commit | 9f64390f414b1148822ce11c9493b9cdd9bf7b7a (patch) | |
tree | 699eea139dd05a224361e7ed8715617d86deabb3 /sshconnect2.c | |
parent | - markus@cvs.openbsd.org 2001/10/30 20:29:09 (diff) | |
download | openssh-9f64390f414b1148822ce11c9493b9cdd9bf7b7a.tar.xz openssh-9f64390f414b1148822ce11c9493b9cdd9bf7b7a.zip |
- markus@cvs.openbsd.org 2001/11/07 16:03:17
[packet.c packet.h sshconnect2.c]
pad using the padding field from the ssh2 packet instead of sending
extra ignore messages. tested against several other ssh servers.
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 66dccf600..310788538 100644 --- a/sshconnect2.c +++ b/sshconnect2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.84 2001/10/29 19:27:15 markus Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.85 2001/11/07 16:03:17 markus Exp $"); #include <openssl/bn.h> #include <openssl/md5.h> @@ -460,7 +460,7 @@ userauth_passwd(Authctxt *authctxt) packet_put_cstring(password); memset(password, 0, strlen(password)); xfree(password); - packet_inject_ignore(64); + packet_add_padding(64); packet_send(); return 1; } @@ -817,7 +817,7 @@ input_userauth_info_req(int type, int plen, void *ctxt) } packet_done(); /* done with parsing incoming message. */ - packet_inject_ignore(64); + packet_add_padding(64); packet_send(); } |