diff options
author | Werner Koch <wk@gnupg.org> | 2020-07-08 14:33:09 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-07-08 14:33:25 +0200 |
commit | a6a4bbf6debd925a23c22eea86a562f061fdfe6c (patch) | |
tree | 33f03854776b7fa495e6cc2c1da012f465b38c73 /g10/call-agent.h | |
parent | agent: New option --newsymkey for GET_PASSPHRASE (diff) | |
download | gnupg2-a6a4bbf6debd925a23c22eea86a562f061fdfe6c.tar.xz gnupg2-a6a4bbf6debd925a23c22eea86a562f061fdfe6c.zip |
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>
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r-- | g10/call-agent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h index be5c777d4..2305f33e0 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -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); |