=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- src/usr.bin/ssh/clientloop.c 2001/04/05 11:09:15 1.58 +++ src/usr.bin/ssh/clientloop.c 2001/04/05 20:01:10 1.59 @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.58 2001/04/05 11:09:15 markus Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.59 2001/04/05 20:01:10 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -554,8 +554,12 @@ continue; case 'R': - if (compat20 && !(datafellows && SSH_BUG_NOREKEY)) - need_rekeying = 1; + if (compat20) { + if (datafellows & SSH_BUG_NOREKEY) + log("Server does not support re-keying"); + else + need_rekeying = 1; + } continue; case '&':