mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
More error codes
This commit is contained in:
parent
f8c249a9d6
commit
e4a72423ff
@ -56,6 +56,9 @@ enum {
|
||||
GNUPG_Invalid_Data = 27,
|
||||
GNUPG_Assuan_Server_Fault = 28,
|
||||
GNUPG_Assuan_Error = 29, /* catch all assuan error */
|
||||
GNUPG_Invalid_Session_Key = 30,
|
||||
GNUPG_Invalid_Sexp = 31,
|
||||
GNUPG_Unsupported_Algorithm = 32,
|
||||
};
|
||||
|
||||
/* Status codes - fixme: should go into another file */
|
||||
|
@ -43,6 +43,8 @@ map_ksba_err (int err)
|
||||
case 0:
|
||||
break;
|
||||
|
||||
case KSBA_Unsupported_Algorithm: err = GNUPG_Unsupported_Algorithm; break;
|
||||
|
||||
default:
|
||||
err = seterr (General_Error);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user