[Pkg-gnupg-commit] [libgpg-error] 03/15: Add GPG_ERR_SUBKEYS_EXP_OR_REV.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jun 17 00:26:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository libgpg-error.

commit 1ee822f9ff73a9a302ad0eb298640797d735e62b
Author: Werner Koch <wk at gnupg.org>
Date:   Tue May 17 19:44:12 2016 +0200

    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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libgpg-error.git



More information about the Pkg-gnupg-commit mailing list