1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-14 01:27:35 -05:00

Bug fix: line discipline selection is not enabled until after ssh

authentication phase to stop user/password prompts behaving oddly

[originally from svn r614]
This commit is contained in:
Simon Tatham
2000-09-22 13:10:19 +00:00
parent e5ef37f3f5
commit c0ac8ab9b4
7 changed files with 37 additions and 5 deletions

2
ssh.c
View File

@ -1628,6 +1628,7 @@ static void ssh1_protocol(unsigned char *in, int inlen, int ispkt) {
ssh_send_ok = 1;
ssh_channels = newtree234(ssh_channelcmp);
begin_session();
while (1) {
crReturnV;
if (ispkt) {
@ -2335,6 +2336,7 @@ static void do_ssh2_authconn(unsigned char *in, int inlen, int ispkt)
* Transfer data!
*/
ssh_send_ok = 1;
begin_session();
while (1) {
static int try_send;
crReturnV;