diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-01-02 14:25:52 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-01-02 14:25:52 +0000 |
commit | 85ed8b0ced2b0ea6231d2884a7a09f16b0b13646 (patch) | |
tree | 8af34df0d6000b0594376cbfc272269e76a0b57c /usr.bin/ssh/sshconnect.c | |
parent | 445270ab41e8cd4959842a2132caa8b53e2e02a1 (diff) |
compare correct version for 1.3 compat mode
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index a71589aee4b..946587c522f 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -8,7 +8,7 @@ */ #include "includes.h" -RCSID("$Id: sshconnect.c,v 1.47 1999/12/20 08:35:36 markus Exp $"); +RCSID("$Id: sshconnect.c,v 1.48 2000/01/02 14:25:51 markus Exp $"); #include <ssl/bn.h> #include "xmalloc.h" @@ -1015,7 +1015,7 @@ ssh_exchange_identification() /* We speak 1.3, too. */ if (remote_major == 1 && remote_minor == 3) { enable_compat13(); - if (options.forward_agent && strcmp(remote_version, SSH_VERSION) != 0) { + if (options.forward_agent && strcmp(remote_version, "OpenSSH-1.1") != 0) { log("Agent forwarding disabled, remote version '%s' is not compatible.", remote_version); options.forward_agent = 0; |