summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:34:29 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:34:29 +0000
commit11bd89936db5d399a7a5f10af02c7b578735bfd5 (patch)
tree8fad69d38164a937245633d2004c5ec14e0e2bca /clientloop.c
parentf15a386511f669b2bb81c57032f458ff3e9e93a6 (diff)
- markus@cvs.openbsd.org 2001/04/05 20:01:10
[clientloop.c] for ~R print message if server does not support rekeying. (and fix ~R).
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c
index 41920e0f3..74610c6b1 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,7 +59,7 @@
59 */ 59 */
60 60
61#include "includes.h" 61#include "includes.h"
62RCSID("$OpenBSD: clientloop.c,v 1.58 2001/04/05 11:09:15 markus Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.59 2001/04/05 20:01:10 markus Exp $");
63 63
64#include "ssh.h" 64#include "ssh.h"
65#include "ssh1.h" 65#include "ssh1.h"
@@ -554,8 +554,12 @@ process_escapes(Buffer *bin, Buffer *bout, Buffer *berr, char *buf, int len)
554 continue; 554 continue;
555 555
556 case 'R': 556 case 'R':
557 if (compat20 && !(datafellows && SSH_BUG_NOREKEY)) 557 if (compat20) {
558 need_rekeying = 1; 558 if (datafellows & SSH_BUG_NOREKEY)
559 log("Server does not support re-keying");
560 else
561 need_rekeying = 1;
562 }
559 continue; 563 continue;
560 564
561 case '&': 565 case '&':