diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/err-codes.h.in | 1 | ||||
-rw-r--r-- | src/gpg-error.h | 5 |
3 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2003-06-05 Marcus Brinkmann <[email protected]> + * src/gpg-error.h (gpg_err_code_t): Add GPG_ERR_SIG_EXPIRED. + (err-codes.h.in): Likewise. + * src/gpg-error.h (gpg_error_from_errno): Change return type to gpg_error_t. diff --git a/src/err-codes.h.in b/src/err-codes.h.in index 1925fdb..8609cf8 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -149,6 +149,7 @@ 151 Public key not trusted 152 Decryption failed 153 Key expired +154 Signature expired 201 Invalid length specifier in S-expression 202 String too long in S-expression 203 Unmatched parentheses in S-expression diff --git a/src/gpg-error.h b/src/gpg-error.h index e7f4adf..bd90b87 100644 --- a/src/gpg-error.h +++ b/src/gpg-error.h @@ -181,7 +181,7 @@ typedef enum GPG_ERR_NOT_TRUSTED = 98, GPG_ERR_CANCELED = 109, GPG_ERR_BAD_CA_CERT = 100, - GPG_ERR_CERT_EXPIRED = 101, + GPG_ERR_CERT_EXPIRED = 101, /* Key signature expired. */ GPG_ERR_CERT_TOO_YOUNG = 102, GPG_ERR_UNSUPPORTED_CERT = 103, GPG_ERR_UNKNOWN_SEXP = 104, @@ -217,8 +217,9 @@ typedef enum GPG_ERR_PUBKEY_NOT_TRUSTED = 151, GPG_ERR_DECRYPT_FAILED = 152, GPG_ERR_KEY_EXPIRED = 153, + GPG_ERR_SIG_EXPIRED = 154, /* Data signature expired. */ - /* 154 to 200 are free to be used. */ + /* 155 to 200 are free to be used. */ /* Error codes pertaining to S-expressions. */ GPG_ERR_SEXP_INV_LEN_SPEC = 201, |