diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-16 12:34:57 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-16 12:34:57 +1100 |
commit | 79438cc03040e22a053f2cb02e42483272b458df (patch) | |
tree | cbc85e2742e20db8ed40835b087523f78eb4e9a8 /serverloop.c | |
parent | 217f567187a9b1d32019666151d702c87332c72b (diff) |
- (djm) OpenBSD CVS:
- markus@cvs.openbsd.org 2001/02/15 16:19:59
[channels.c channels.h serverloop.c sshconnect.c sshconnect.h]
[sshconnect1.c sshconnect2.c]
genericize password padding function for SSH1 and SSH2.
add stylized echo to 2, too.
- (djm) Add roundup() macro to defines.h
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c index d59de862..613f5181 100644 --- a/serverloop.c +++ b/serverloop.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: serverloop.c,v 1.48 2001/02/15 08:38:04 deraadt Exp $"); +RCSID("$OpenBSD: serverloop.c,v 1.49 2001/02/15 23:19:59 markus Exp $"); #include "xmalloc.h" #include "packet.h" @@ -339,7 +339,7 @@ process_output(fd_set * writeset) } else { /* Successful write. */ if (tcgetattr(fdin, &tio) == 0 && - !(tio.c_lflag & ECHO)) { + !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { /* * Simulate echo to reduce the impact of * traffic analysis |