[Pkg-gnupg-commit] [libgpg-error] 08/19: Add error codes NO_NAME, NO_KEY, and SERVER_FAILURE.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Dec 15 15:55:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository libgpg-error.
commit a144fa8863846dc3f6d34731741cd63251620837
Author: Werner Koch <wk at gnupg.org>
Date: Wed Oct 21 14:55:23 2015 +0200
Add error codes NO_NAME, NO_KEY, and SERVER_FAILURE.
---
NEWS | 3 +++
doc/errorref.txt | 10 ++++++++++
src/err-codes.h.in | 5 ++++-
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/NEWS b/NEWS
index 8df0a14..3ff3af5 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,9 @@ Noteworthy changes in version 1.21 (unreleased) [C17/A17/R0]
es_poll NEW macro.
GPG_ERR_TRUE NEW.
GPG_ERR_FALSE NEW.
+ GPG_ERR_NO_NAME NEW.
+ GPG_ERR_NO_KEY NEW.
+ GPG_ERR_SERVER_FAILED NEW.
Noteworthy changes in version 1.20 (2015-08-26) [C16/A16/R0]
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 563ce9b..89c0723 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -624,6 +624,16 @@ 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_SERVER_FAILED (219) Server indicated a failure
+
+GPG_ERR_NO_NAME (220) No name
+
+ EAI_NONAME may be mapped to this code.
+
+GPG_ERR_NO_KEY (221) No key
+
+ Some kind of key was not found.
+
GPG_ERR_LEGACY_KEY (222) Legacy key
Used by GnuPG to identify version 2 and 3 OpenPGP key packets.
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index e05d41f..d481145 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -247,8 +247,11 @@
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 221 are free to be used.
+# 214 to 218 are free to be used.
+219 GPG_ERR_SERVER_FAILED Server indicated a failure
+220 GPG_ERR_NO_NAME No name
+221 GPG_ERR_NO_KEY No key
222 GPG_ERR_LEGACY_KEY Legacy key
223 GPG_ERR_REQUEST_TOO_SHORT Request too short
224 GPG_ERR_REQUEST_TOO_LONG Request too long
--
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