[git] GPG-ERROR - branch, master, updated. libgpg-error-1.20-8-ga144fa8

by Werner Koch cvs at cvs.gnupg.org
Wed Oct 21 18:24:15 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  a144fa8863846dc3f6d34731741cd63251620837 (commit)
      from  75172adc3b103bd7ef75575a0c0c9c3b63fa4023 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
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.

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

-----------------------------------------------------------------------

Summary of changes:
 NEWS               |  3 +++
 doc/errorref.txt   | 10 ++++++++++
 src/err-codes.h.in |  5 ++++-
 3 files changed, 17 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list