aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pubkey-enc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-23 11:16:37 +0000
committerWerner Koch <[email protected]>2021-03-23 11:16:37 +0000
commita107b24ddb45c9eef432d456f302c1acea3af27c (patch)
tree92f082763d4172de85e6a70007fbf7d2f6220746 /g10/pubkey-enc.c
parentgpgconf: Support use-keyboxd. (diff)
downloadgnupg-a107b24ddb45c9eef432d456f302c1acea3af27c.tar.gz
gnupg-a107b24ddb45c9eef432d456f302c1acea3af27c.zip
gpgconf: Fix listing of default_pubkey_algo.
* tools/gpgconf-comp.c (known_options_gpg, known_options_gpgsm): No flags needed for pseudo options. (known_pseudo_options_gpg, known_pseudo_options_gpgsm): New. (gc_component): Add field known_pseudo_options. (struct read_line_wrapper_parm_s): New. (read_line_wrapper): New. (retrieve_options_from_program): Use read_line_wrapper to handle pseudo options. -- GnuPG-bug-id: 5341 Due to reading the list of options from the argparser of the component, we had no more information about the pseudo options and thus could not emit them. Well, there is just one pseudo option right now, but with this change we have a generalized concept for them: Pseudo options are used to convey information from a component to gpgconf; for example build-in values.
Diffstat (limited to 'g10/pubkey-enc.c')
0 files changed, 0 insertions, 0 deletions