From f7f939234ba3bb1bc4678e65b5ef1e30a72110fe Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 3 Sep 2024 11:15:47 +0200 Subject: [PATCH] gpgconf: Add missing linefeed to the -X output. * tools/gpgconf.c (show_registry_entries_from_file): Add missing LF. --- tools/gpgconf.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/gpgconf.c b/tools/gpgconf.c index 061a4f727..e15271d7a 100644 --- a/tools/gpgconf.c +++ b/tools/gpgconf.c @@ -1519,6 +1519,16 @@ show_other_registry_entries (estream_t outfp) { 3, "combinedOpsEnabled" }, { 3, "encryptSubject" }, { 0, NULL } + /* We should add the following key but also hide unset ones.: + * "smimeNoCertSigErr" + * "smimeHtmlWarnShown" + * "alwaysShowApproval" + * "syncDec" + * "syncEnc" + * "draftEnc" + * "draftKey" + * Or we just interate over the GpgOL keys. + */ }; int idx; int group = 0; @@ -1612,7 +1622,7 @@ show_registry_entries_from_file (estream_t outfp) if (!any) { any = 1; - es_fprintf (outfp, "Taken from gpgconf.rnames:\n"); + es_fprintf (outfp, "\nTaken from gpgconf.rnames:\n"); } es_fprintf (outfp, " %s\n ->%s<-%s\n", line, value,