diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2005-06-18 04:30:37 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2005-06-18 04:30:37 +0000 |
commit | 9cda040913008ed18b4c04d58416e49cadeecd82 (patch) | |
tree | 69c679f7933b6c1e78ec3ac28817e70b86b8b187 /usr.bin/ssh/ssh.c | |
parent | de46c7b9675b0262ffde0f902ae73ccf2b631639 (diff) |
allow ControlPath=none, patch from dwmw2 AT infradead.org; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 813406f8e71..3e4741c6aab 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.244 2005/06/17 22:53:46 djm Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.245 2005/06/18 04:30:36 djm Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -603,6 +603,9 @@ again: if (options.proxy_command != NULL && strcmp(options.proxy_command, "none") == 0) options.proxy_command = NULL; + if (options.control_path != NULL && + strcmp(options.control_path, "none") == 0) + options.control_path = NULL; if (options.control_path != NULL) { snprintf(buf, sizeof(buf), "%d", options.port); |