upstream: missing space character in ssh -G output broke the

t-sshcfgparse regression test; spotted by anton@

OpenBSD-Commit-ID: bcc36fae2f233caac4baa8e58482da4aa350eed0
This commit is contained in:
djm@openbsd.org 2021-09-16 05:36:03 +00:00 committed by Damien Miller
parent a4bee1934b
commit c25c84074a
1 changed files with 2 additions and 2 deletions

View 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> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -3401,7 +3401,7 @@ dump_client_config(Options *o, const char *host)
/* oCanonicalizePermittedCNAMEs */ /* oCanonicalizePermittedCNAMEs */
printf("canonicalizePermittedcnames"); printf("canonicalizePermittedcnames");
if (o->num_permitted_cnames == 0) if (o->num_permitted_cnames == 0)
printf("none"); printf(" none");
for (i = 0; i < o->num_permitted_cnames; i++) { for (i = 0; i < o->num_permitted_cnames; i++) {
printf(" %s:%s", o->permitted_cnames[i].source_list, printf(" %s:%s", o->permitted_cnames[i].source_list,
o->permitted_cnames[i].target_list); o->permitted_cnames[i].target_list);