2002-04-24 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (map_assuan_error): Add new error codes.
This commit is contained in:
parent
a559c32a55
commit
a07ede17a2
@ -1,3 +1,7 @@
|
||||
2002-04-24 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* engine-gpgsm.c (map_assuan_error): Add new error codes.
|
||||
|
||||
2002-04-23 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* key.c (gpgme_key_get_ulong_attr): Swapped use of can_encrypt and
|
||||
|
@ -304,6 +304,11 @@ map_assuan_error (AssuanError err)
|
||||
case ASSUAN_Inquire_Unknown:
|
||||
case ASSUAN_Inquire_Error:
|
||||
case ASSUAN_Invalid_Option:
|
||||
case ASSUAN_Invalid_Index:
|
||||
case ASSUAN_Unexpected_Status:
|
||||
case ASSUAN_Unexpected_Data:
|
||||
case ASSUAN_Invalid_Status:
|
||||
case ASSUAN_Not_Confirmed:
|
||||
return mk_error (General_Error);
|
||||
|
||||
/* These are errors in the server. */
|
||||
@ -321,6 +326,11 @@ map_assuan_error (AssuanError err)
|
||||
case ASSUAN_No_Public_Key:
|
||||
case ASSUAN_No_Secret_Key:
|
||||
case ASSUAN_Invalid_Name:
|
||||
case ASSUAN_Card_Error: /* XXX: Oh well. */
|
||||
case ASSUAN_Invalid_Card: /* XXX: Oh well. */
|
||||
case ASSUAN_No_PKCS15_App: /* XXX: Oh well. */
|
||||
case ASSUAN_Card_Not_Present: /* XXX: Oh well. */
|
||||
case ASSUAN_Invalid_Id: /* XXX: Oh well. */
|
||||
return mk_error(Invalid_Key);
|
||||
|
||||
case ASSUAN_Bad_Signature:
|
||||
|
Loading…
Reference in New Issue
Block a user