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_Invalid_Data = 27,
|
||||||
GNUPG_Assuan_Server_Fault = 28,
|
GNUPG_Assuan_Server_Fault = 28,
|
||||||
GNUPG_Assuan_Error = 29, /* catch all assuan error */
|
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 */
|
/* Status codes - fixme: should go into another file */
|
||||||
|
@ -42,6 +42,8 @@ map_ksba_err (int err)
|
|||||||
case -1:
|
case -1:
|
||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case KSBA_Unsupported_Algorithm: err = GNUPG_Unsupported_Algorithm; break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
err = seterr (General_Error);
|
err = seterr (General_Error);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user