From b72134c2b76115d4c04edb2bfd2f46a3a0e192eb Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sat, 27 Jul 2002 14:24:07 +0000 Subject: [PATCH] 2002-07-27 Marcus Brinkmann * delete.c (delete_problem): New case ambigious specification. (delete_status_handler): Handle new case (poorly). --- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/delete.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index f6f2d93..11432d4 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2002-07-27 Marcus Brinkmann + + * delete.c (delete_problem): New case ambigious specification. + (delete_status_handler): Handle new case (poorly). + 2002-07-25 Marcus Brinkmann * engine-gpgsm.c (_gpgme_gpgsm_op_delete): Implement this. diff --git a/trunk/gpgme/delete.c b/trunk/gpgme/delete.c index 5a08a12..94d28fe 100644 --- a/trunk/gpgme/delete.c +++ b/trunk/gpgme/delete.c @@ -35,7 +35,8 @@ enum delete_problem { DELETE_No_Problem = 0, DELETE_No_Such_Key = 1, - DELETE_Must_Delete_Secret_Key = 2 + DELETE_Must_Delete_Secret_Key = 2, + DELETE_Ambiguous_Specification = 3 }; @@ -74,6 +75,8 @@ delete_status_handler (GpgmeCtx ctx, GpgStatusCode code, char *args) case DELETE_Must_Delete_Secret_Key: ctx->error = mk_error(Conflict); break; + case DELETE_Ambiguous_Specification: + /* XXX Need better error value. Fall through. */ default: ctx->error = mk_error(General_Error); break; -- 2.26.2