diff options
author | Marcus Brinkmann <[email protected]> | 2002-04-24 23:18:53 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-04-24 23:18:53 +0000 |
commit | b4f8fcb0e11a5079783b6a95d7c9a80b49d886b9 (patch) | |
tree | d8ca7d236377df0b8afd10cfee0716a5e90b6208 /agent/trustlist.c | |
parent | 2002-04-25 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-b4f8fcb0e11a5079783b6a95d7c9a80b49d886b9.tar.gz gnupg-b4f8fcb0e11a5079783b6a95d7c9a80b49d886b9.zip |
2002-04-25 Marcus Brinkmann <[email protected]>
* agent.h (agent_get_confirmation): Replace paramter prompt with
two parameters ok and cancel.
* query.c (agent_get_confirmation): Likewise. Implement this.
* trustlist.c (agent_marktrusted): Fix invocation of
agent_get_confirmation.
* divert-scd.c (ask_for_card): Likewise.
Diffstat (limited to 'agent/trustlist.c')
-rw-r--r-- | agent/trustlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/trustlist.c b/agent/trustlist.c index d3b8b6d20..b6545f7de 100644 --- a/agent/trustlist.c +++ b/agent/trustlist.c @@ -254,7 +254,7 @@ agent_marktrusted (const char *name, const char *fpr, int flag) "has the fingerprint:%%0A" " %s", name, fpr) < 0 ) return GNUPG_Out_Of_Core; - rc = agent_get_confirmation (desc, "Correct|No"); + rc = agent_get_confirmation (desc, "Correct", "No"); free (desc); if (rc) return rc; @@ -265,7 +265,7 @@ agent_marktrusted (const char *name, const char *fpr, int flag) "to correctly certify user certificates?", name) < 0 ) return GNUPG_Out_Of_Core; - rc = agent_get_confirmation (desc, "Yes|No"); + rc = agent_get_confirmation (desc, "Yes", "No"); free (desc); if (rc) return rc; |