diff options
Diffstat (limited to '')
-rw-r--r-- | common/errors.h | 3 | ||||
-rw-r--r-- | common/maperror.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/common/errors.h b/common/errors.h index b704ff3c7..a21b492af 100644 --- a/common/errors.h +++ b/common/errors.h @@ -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 */ diff --git a/common/maperror.c b/common/maperror.c index aba0ee750..e073f16fe 100644 --- a/common/maperror.c +++ b/common/maperror.c @@ -42,6 +42,8 @@ map_ksba_err (int err) case -1: case 0: break; + + case KSBA_Unsupported_Algorithm: err = GNUPG_Unsupported_Algorithm; break; default: err = seterr (General_Error); |