Home GnuPG
Diffusion GnuPG 99601778f4a9

agent: Make --pinentry-formatted-passphrase a simple flag

Description

agent: Make --pinentry-formatted-passphrase a simple flag

* agent/agent.h (opt): Change type of pinentry_formatted_passphrase
to int (as for other flags).
* agent/call-pinentry.c (setup_formatted_passphrase): Remove no longer
needed translated strings. Write option without value to Assuan
connection.
* agent/gpg-agent.c (opts): Use ARGPARSE_s_n for
oPinentryFormattedPassphrase.
(parse_rereadable_options): Set option to 1.