diff options
author | Damien Miller <djm@mindrot.org> | 2005-06-26 08:56:03 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-06-26 08:56:03 +1000 |
commit | 8f74c8fc3216af41e466dbe7abbe8660679588ad (patch) | |
tree | 7b8e746dc78cf1bf92c75a8fc57874bb922413ee /ssh.c | |
parent | 9651fe690a95378cdb9b2a1cf3e8c5cb625052c7 (diff) |
- djm@cvs.openbsd.org 2005/06/18 04:30:36
[ssh.c ssh_config.5]
allow ControlPath=none, patch from dwmw2 AT infradead.org; ok dtucker@
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.244 2005/06/17 22:53:46 djm Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.245 2005/06/18 04:30:36 djm Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -610,6 +610,9 @@ again: | |||
610 | if (options.proxy_command != NULL && | 610 | if (options.proxy_command != NULL && |
611 | strcmp(options.proxy_command, "none") == 0) | 611 | strcmp(options.proxy_command, "none") == 0) |
612 | options.proxy_command = NULL; | 612 | options.proxy_command = NULL; |
613 | if (options.control_path != NULL && | ||
614 | strcmp(options.control_path, "none") == 0) | ||
615 | options.control_path = NULL; | ||
613 | 616 | ||
614 | if (options.control_path != NULL) { | 617 | if (options.control_path != NULL) { |
615 | snprintf(buf, sizeof(buf), "%d", options.port); | 618 | snprintf(buf, sizeof(buf), "%d", options.port); |