mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Use integrated passphrase repeat entry also for -c.
* g10/call-agent.c (agent_get_passphrase): Add arg newsymkey. * g10/passphrase.c (passphrase_get): Add arg newsymkey. (passphrase_to_dek): Pass it on. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
eace4bbe1d
commit
a6a4bbf6de
3 changed files with 33 additions and 7 deletions
|
@ -159,6 +159,7 @@ gpg_error_t agent_get_passphrase (const char *cache_id,
|
|||
const char *err_msg,
|
||||
const char *prompt,
|
||||
const char *desc_msg,
|
||||
int newsymkey,
|
||||
int repeat,
|
||||
int check,
|
||||
char **r_passphrase);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue