aboutsummaryrefslogtreecommitdiffstats
path: root/agent/findkey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-06-17 10:19:50 +0000
committerWerner Koch <[email protected]>2009-06-17 10:19:50 +0000
commitaa03d8f184dd6acbf75c316b44bccc0325af35a3 (patch)
tree9bd764140f9fa712bdf9786781b7cec6b8159345 /agent/findkey.c
parentAdd readcert command. (diff)
downloadgnupg-aa03d8f184dd6acbf75c316b44bccc0325af35a3.tar.gz
gnupg-aa03d8f184dd6acbf75c316b44bccc0325af35a3.zip
Use cancel button in confirmation only if requested.
Diffstat (limited to 'agent/findkey.c')
-rw-r--r--agent/findkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index 5fe735242..9405342d1 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -183,7 +183,7 @@ try_unprotect_cb (struct pin_entry_info_s *pi)
if (opt.enforce_passphrase_constraints)
{
err = agent_get_confirmation (arg->ctrl, desc,
- _("Change passphrase"), NULL);
+ _("Change passphrase"), NULL, 0);
if (!err)
arg->change_required = 1;
}
@@ -191,7 +191,7 @@ try_unprotect_cb (struct pin_entry_info_s *pi)
{
err = agent_get_confirmation (arg->ctrl, desc,
_("Change passphrase"),
- _("I'll change it later"));
+ _("I'll change it later"), 0);
if (!err)
arg->change_required = 1;
else if (gpg_err_code (err) == GPG_ERR_CANCELED)