1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-20 14:51:42 +02:00

gpgconf: Add missing linefeed to the -X output.

* tools/gpgconf.c (show_registry_entries_from_file): Add missing LF.
This commit is contained in:
Werner Koch 2024-09-03 11:15:47 +02:00
parent 4a4c1efac5
commit aac5a8f008
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1525,6 +1525,16 @@ show_other_registry_entries (estream_t outfp)
{ 3, "combinedOpsEnabled" }, { 3, "combinedOpsEnabled" },
{ 3, "encryptSubject" }, { 3, "encryptSubject" },
{ 0, NULL } { 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 idx;
int group = 0; int group = 0;
@ -1625,7 +1635,7 @@ show_registry_entries_from_file (estream_t outfp)
if (!any) if (!any)
{ {
any = 1; 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, es_fprintf (outfp, " %s\n ->%s<-%s\n", line, value,