summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-10-18 06:16:52 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-10-18 06:16:52 +0000
commit29d5f6442dec88dc4298faa38104a16a764bc5d9 (patch)
tree50b3d3ba31952d8b1a335ef950bbadc3797e4685 /usr.bin/ssh/sshd.c
parent85c3c5c553f80a12941a4078da172ea16c164c5e (diff)
OpenSSH-1.2, read my lips: no more patches
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r--usr.bin/ssh/sshd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 7ae3208e07d..91a7d386ef8 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -18,7 +18,7 @@ agent connections.
*/
#include "includes.h"
-RCSID("$Id: sshd.c,v 1.39 1999/10/18 01:54:18 provos Exp $");
+RCSID("$Id: sshd.c,v 1.40 1999/10/18 06:16:50 markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -687,9 +687,8 @@ main(int ac, char **av)
if (remote_major == 1 && remote_minor == 3) {
enable_compat13();
- if (strcmp(remote_version, SSH_VERSION) != 0) {
- debug("Agent forwarding disabled, remote version '%s' is not compatible.",
- SSH_VERSION);
+ if (strcmp(remote_version, "OpenSSH-1.1") != 0) {
+ debug("Agent forwarding disabled, remote version is not compatible.");
no_agent_forwarding_flag = 1;
}
}