mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
d9e2dfa4c5
commit
ae8b88c635
3 changed files with 33 additions and 7 deletions
|
@ -135,6 +135,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