From 1ee822f9ff73a9a302ad0eb298640797d735e62b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 17 May 2016 19:44:12 +0200 Subject: Add GPG_ERR_SUBKEYS_EXP_OR_REV. --- NEWS | 4 ++++ doc/errorref.txt | 14 ++++++++++++-- src/err-codes.h.in | 3 ++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 75f2063..be14b91 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,10 @@ Noteworthy changes in version 1.23 (unreleased) [C18/A18/R_) ----------------------------------------------- + * Interface changes relative to the 1.22 release: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + GPG_ERR_SUBKEYS_EXP_OR_REV NEW. + Noteworthy changes in version 1.22 (2016-04-25) [C18/A18/R0) ----------------------------------------------- diff --git a/doc/errorref.txt b/doc/errorref.txt index bf27a81..2922b9f 100644 --- a/doc/errorref.txt +++ b/doc/errorref.txt @@ -316,7 +316,7 @@ GPG_ERR_INV_NAME Invalid name [more to come] -89 GPG_ERR_BAD_DATA Bad data +GPG_ERR_BAD_DATA Bad data GPG_ERR_INV_PARAMETER Invalid parameter @@ -439,6 +439,10 @@ GPG_ERR_UNSUPPORTED_ENCODING Unsupported encoding GCRYPT: gcry_kdf_proc for an unknown kdf algorithm 150 GPG_ERR_INV_ENGINE Invalid crypto engine + + GPGME: Several uses use cases. For example: + - Unexpected format of a status line. + 151 GPG_ERR_PUBKEY_NOT_TRUSTED Public key not trusted 152 GPG_ERR_DECRYPT_FAILED Decryption failed 153 GPG_ERR_KEY_EXPIRED Key expired @@ -488,7 +492,10 @@ GPG_ERR_INV_CERT_OBJ Invalid certificate object 166 GPG_ERR_LOCALE_PROBLEM A locale function failed 167 GPG_ERR_NOT_LOCKED Not locked -168 GPG_ERR_PROTOCOL_VIOLATION Protocol violation + +GPG_ERR_PROTOCOL_VIOLATION Protocol violation + + GNUPG: - Used for invalid HTTP responses. GPG_ERR_INV_MAC Invalid MAC @@ -626,6 +633,9 @@ GPG_ERR_MAC_ALGO 212 GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression 213 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression + +GPG_ERR_SUBKEYS_EXP_REV (217) All subkeys are expired or revoked + GPG_ERR_DB_CORRUPTED (218) Database is corrupted GPG_ERR_SERVER_FAILED (219) Server indicated a failure diff --git a/src/err-codes.h.in b/src/err-codes.h.in index 887ea78..eefe088 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -247,7 +247,8 @@ 212 GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression 213 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression -# 214 to 217 are free to be used. +# 214 to 216 are free to be used. +217 GPG_ERR_SUBKEYS_EXP_OR_REV All subkeys are expired or revoked 218 GPG_ERR_DB_CORRUPTED Database is corrupted 219 GPG_ERR_SERVER_FAILED Server indicated a failure 220 GPG_ERR_NO_NAME No name -- cgit v1.2.3