diff options
author | 2005-06-18 04:30:36 +0000 | |
---|---|---|
committer | 2005-06-18 04:30:36 +0000 | |
commit | 24f402d7783f291d512b802bd292cbe126a9eab9 (patch) | |
tree | e7f717366d029f97632ec78da2385e81a9802d9c /usr.bin/ssh/ssh.c | |
parent | though this doesn't work yet at least allow it to compile first. (diff) | |
download | wireguard-openbsd-24f402d7783f291d512b802bd292cbe126a9eab9.tar.xz wireguard-openbsd-24f402d7783f291d512b802bd292cbe126a9eab9.zip |
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); |