[openssh-commits] [openssh] 03/03: upstream: Remove lines accidentally left behind in the ProxyJump

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Dec 22 15:44:23 AEDT 2020


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 0121aa87bab9ad2365de2d07f2832b56d5ff9871
Author: tb at openbsd.org <tb at openbsd.org>
Date:   Tue Dec 22 03:05:31 2020 +0000

    upstream: Remove lines accidentally left behind in the ProxyJump
    
    parsing fix r1.345.
    
    ok djm
    
    OpenBSD-Commit-ID: fe767c108c8117bea33767b080ff62eef2c55f5c
---
 readconf.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/readconf.c b/readconf.c
index 97c0d183..2a7870a1 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.346 2020/12/22 00:15:22 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.347 2020/12/22 03:05:31 tb Exp $ */
 /*
  * Author: Tatu Ylonen <ylo at cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2812,9 +2812,6 @@ parse_jump(const char *s, Options *o, int active)
 				goto out;
 		} else {
 			/* Subsequent argument or inactive configuration */
-			if (parse_ssh_uri(cp, NULL, NULL, NULL) == -1 &&
-			    parse_user_host_port(cp, NULL, NULL, NULL) != 0)
-				goto out;
 			r = parse_ssh_uri(cp, NULL, NULL, NULL);
 			if (r == -1 || (r == 1 &&
 			    parse_user_host_port(cp, NULL, NULL, NULL) != 0))

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list