diff options
author | Werner Koch <[email protected]> | 2024-09-03 09:15:47 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-09-03 09:16:48 +0000 |
commit | f7f939234ba3bb1bc4678e65b5ef1e30a72110fe (patch) | |
tree | 19e434a2f0c6b86c39498c3fc23e483727b05229 | |
parent | agent: Fix KEYTOCARD for the use case with loopback pinentry. (diff) | |
download | gnupg-f7f939234ba3bb1bc4678e65b5ef1e30a72110fe.tar.gz gnupg-f7f939234ba3bb1bc4678e65b5ef1e30a72110fe.zip |
gpgconf: Add missing linefeed to the -X output.
* tools/gpgconf.c (show_registry_entries_from_file): Add missing LF.
-rw-r--r-- | tools/gpgconf.c | 12 |
1 files changed, 11 insertions, 1 deletions
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, |