]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: missing space character in ssh -G output broke the
authordjm@openbsd.org <djm@openbsd.org>
Thu, 16 Sep 2021 05:36:03 +0000 (05:36 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 16 Sep 2021 05:38:16 +0000 (15:38 +1000)
t-sshcfgparse regression test; spotted by anton@

OpenBSD-Commit-ID: bcc36fae2f233caac4baa8e58482da4aa350eed0

readconf.c

index b99ad3b2611f5844c67859b4fd0a07ae94267b96..bcca6ed47c4c112e9f624d5f5b9fad947b8d2fa4 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.362 2021/09/15 06:56:01 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.363 2021/09/16 05:36:03 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -3401,7 +3401,7 @@ dump_client_config(Options *o, const char *host)
        /* oCanonicalizePermittedCNAMEs */
        printf("canonicalizePermittedcnames");
        if (o->num_permitted_cnames == 0)
-               printf("none");
+               printf(" none");
        for (i = 0; i < o->num_permitted_cnames; i++) {
                printf(" %s:%s", o->permitted_cnames[i].source_list,
                    o->permitted_cnames[i].target_list);