summaryrefslogtreecommitdiffstats
path: root/sshconnect.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-03 13:41:05 +0100
committerDamien Miller <djm@mindrot.org>2000-01-03 13:41:05 +0100
commit62ab38ab9e5bae5b516ff10ab62ef55a2592059a (patch)
treed121a0bc30cb68af0d6491ec0336bd9117b9ae66 /sshconnect.c
parent - Removed "nullok" directive from default PAM configuration files. (diff)
downloadopenssh-62ab38ab9e5bae5b516ff10ab62ef55a2592059a.tar.xz
openssh-62ab38ab9e5bae5b516ff10ab62ef55a2592059a.zip
- OpenBSD CVS updates
- [ssh-agent.c] cleanup_exit() for SIGTERM/SIGHUP, too. from fgsch@ and dgaudet@arctic.org - [sshconnect.c] compare correct version for 1.3 compat mode
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 645c4af22..e19392acf 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -8,7 +8,7 @@
*/
#include "includes.h"
-RCSID("$Id: sshconnect.c,v 1.19 1999/12/21 09:57:20 damien Exp $");
+RCSID("$Id: sshconnect.c,v 1.20 2000/01/03 12:41:05 damien Exp $");
#ifdef HAVE_OPENSSL
#include <openssl/bn.h>
@@ -1021,7 +1021,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;