summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 2e93b161a..91f8559de 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: ssh.c,v 1.244 2005/06/17 22:53:46 djm Exp $"); 43RCSID("$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);