From b4f8fcb0e11a5079783b6a95d7c9a80b49d886b9 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 24 Apr 2002 23:18:53 +0000 Subject: 2002-04-25 Marcus Brinkmann * 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. --- agent/trustlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'agent/trustlist.c') 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; -- cgit v1.2.3