=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshconnect2.c,v retrieving revision 1.99.2.1 retrieving revision 1.99.2.2 diff -u -r1.99.2.1 -r1.99.2.2 --- src/usr.bin/ssh/sshconnect2.c 2002/06/26 15:30:39 1.99.2.1 +++ src/usr.bin/ssh/sshconnect2.c 2002/10/11 14:51:53 1.99.2.2 @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.99.2.1 2002/06/26 15:30:39 jason Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.99.2.2 2002/10/11 14:51:53 miod Exp $"); #include "ssh.h" #include "ssh2.h" @@ -95,10 +95,10 @@ compat_cipher_proposal(myproposal[PROPOSAL_ENC_ALGS_STOC]); if (options.compression) { myproposal[PROPOSAL_COMP_ALGS_CTOS] = - myproposal[PROPOSAL_COMP_ALGS_STOC] = "zlib"; + myproposal[PROPOSAL_COMP_ALGS_STOC] = "zlib,none"; } else { myproposal[PROPOSAL_COMP_ALGS_CTOS] = - myproposal[PROPOSAL_COMP_ALGS_STOC] = "none"; + myproposal[PROPOSAL_COMP_ALGS_STOC] = "none,zlib"; } if (options.macs != NULL) { myproposal[PROPOSAL_MAC_ALGS_CTOS] = @@ -422,7 +422,7 @@ clear_auth_state(authctxt); dispatch_set(SSH2_MSG_USERAUTH_PK_OK, NULL); - /* try another method if we did not send a packet*/ + /* try another method if we did not send a packet */ if (sent == 0) userauth(authctxt, NULL);