[git] GPG-ERROR - branch, master, updated. libgpg-error-1.25-12-g56ab574
by Werner Koch
cvs at cvs.gnupg.org
Mon Dec 12 18:01:30 CET 2016
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 56ab574c28586fccd95a08acdc9ee4962ab0db50 (commit)
from 140a19617c78d5f0e2ac8d7e2c8e7092862ec2fb (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 56ab574c28586fccd95a08acdc9ee4962ab0db50
Author: Werner Koch <wk at gnupg.org>
Date: Mon Dec 12 17:55:08 2016 +0100
New error codes to support libdns.
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/NEWS b/NEWS
index f1da8b0..5d24426 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,16 @@ Noteworthy changes in version 1.26 (unreleased) [C20/A20/R_]
* Interface changes relative to the 1.25 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPG_ERR_UNKNOWN_FLAG NEW.
+ GPG_ERR_INV_ORDER NEW.
+ GPG_ERR_ALREADY_FETCHED NEW.
+ GPG_ERR_SYSTEM_BUG NEW.
+ GPG_ERR_DNS_UNKNOWN NEW.
+ GPG_ERR_DNS_SECTION NEW.
+ GPG_ERR_DNS_ADDRESS NEW.
+ GPG_ERR_DNS_NO_QUERY NEW.
+ GPG_ERR_DNS_NO_ANSWER NEW.
+ GPG_ERR_DNS_CLOSED NEW.
+ GPG_ERR_DNS_VERIFY NEW.
Noteworthy changes in version 1.25 (2016-11-14) [C20/A20/R0]
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 70d94da..5fffac9 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -1023,6 +1023,50 @@ GPG_ERR_UNKNOWN_FLAG Unknown flag
GNUPG: - The flag part of the string given to the
option --default-new-key-algo value is not known.
+GPG_ERR_INV_ORDER Invalid execution order
+
+ GNUPG: - In Dirmngr used for the libdns error code DNS_EORDER.
+
+GPG_ERR_ALREADY_FETCHED Already fetched
+
+ GNUPG: - In Dirmngr used for the libdns error code DNS_EFETCHED.
+
+
+GPG_ERR_SYSTEM_BUG System bug detected
+
+ The underlying operating system misbehaved. For example it wrote
+ more to a buffer than the told maximum size.
+
+
+GPG_ERR_DNS_UNKNOWN Unknown DNS error
+
+ Used by Dirmngr for DNS errors from libdns (DNS_EUNKNOWN);
+
+GPG_ERR_DNS_SECTION Invalid DNS section
+
+ Used by Dirmngr for DNS errors from libdns (DNS_ESECTION);
+
+GPG_ERR_DNS_ADDRESS Invalid textual address form
+
+ Used by Dirmngr for DNS errors from libdns (DNS_EADDRESS);
+
+GPG_ERR_DNS_NO_QUERY Missing DNS query packet
+
+ Used by Dirmngr for DNS errors from libdns (DNS_ENOQUERY);
+
+GPG_ERR_DNS_NO_ANSWER Missing DNS answer packet
+
+ Used by Dirmngr for DNS errors from libdns (DNS_ENOANSWER);
+
+GPG_ERR_DNS_CLOSED Connection closed in DNS
+
+ Used by Dirmngr for DNS errors from libdns (DNS_ECONNFIN);
+
+GPG_ERR_DNS_VERIFY Verification failed in DNS
+
+ Used by Dirmngr for DNS errors from libdns (DNS_EVERIFY);
+
+
GPG_ERR_LDAP_GENERAL LDAP General error
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 0669d35..b3eaf3c 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -329,8 +329,23 @@
307 GPG_ERR_TOO_YOUNG Object is too young
308 GPG_ERR_TOO_OLD Object is too old
309 GPG_ERR_UNKNOWN_FLAG Unknown flag
+310 GPG_ERR_INV_ORDER Invalid execution order
+311 GPG_ERR_ALREADY_FETCHED Already fetched
# This range is free for use.
+666 GPG_ERR_SYSTEM_BUG System bug detected
+
+#
+# Mapping of some error codes from libdns.
+#
+711 GPG_ERR_DNS_UNKNOWN Unknown DNS error
+712 GPG_ERR_DNS_SECTION Invalid DNS section
+713 GPG_ERR_DNS_ADDRESS Invalid textual address form
+714 GPG_ERR_DNS_NO_QUERY Missing DNS query packet
+715 GPG_ERR_DNS_NO_ANSWER Missing DNS answer packet
+716 GPG_ERR_DNS_CLOSED Connection closed in DNS
+717 GPG_ERR_DNS_VERIFY Verification failed in DNS
+
#
# Mapping of LDAP error codes
#
-----------------------------------------------------------------------
Summary of changes:
NEWS | 10 ++++++++++
doc/errorref.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++
src/err-codes.h.in | 15 +++++++++++++++
3 files changed, 69 insertions(+)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list