summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-12-12 19:26:17 +0100
committerWerner Koch <wk@gnupg.org>2016-12-12 19:26:17 +0100
commit90b4dfad438900c7808b8c2995ba984fa3587bb2 (patch)
tree47a85a72f8bb136cd914d04fc1fff52533a46e89
parent56ab574c28586fccd95a08acdc9ee4962ab0db50 (diff)
downloadlibgpg-error-90b4dfad438900c7808b8c2995ba984fa3587bb2.tar.gz
New error code GPG_ERR_DNS_TIMEOUT.
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r--NEWS1
-rw-r--r--doc/errorref.txt10
-rw-r--r--src/err-codes.h.in3
3 files changed, 10 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 5d24426..3b3ffb2 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,7 @@ Noteworthy changes in version 1.26 (unreleased) [C20/A20/R_]
GPG_ERR_DNS_NO_ANSWER NEW.
GPG_ERR_DNS_CLOSED NEW.
GPG_ERR_DNS_VERIFY NEW.
+ GPG_ERR_DNS_TIMEOUT NEW.
Noteworthy changes in version 1.25 (2016-11-14) [C20/A20/R0]
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 5fffac9..ce626eb 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -293,7 +293,9 @@ GPG_ERR_NOT_SUPPORTED Not supported
GPG_ERR_INV_OP Invalid operation code
-GPG_ERR_TIMEOUT Timeout
+GPG_ERR_TIMEOUT Timeout
+
+ Some function or network access timed out.
GPG_ERR_INTERNAL Internal error
@@ -1066,12 +1068,14 @@ GPG_ERR_DNS_VERIFY Verification failed in DNS
Used by Dirmngr for DNS errors from libdns (DNS_EVERIFY);
+GPG_ERR_DNS_TIMEOUT DNS Timeout
+ A DNS query timed out
GPG_ERR_LDAP_GENERAL LDAP General error
- Catch all error for LDAP. Use if if can't map an erro rocde to an
- gpg-error code.
+ Catch all error for LDAP. Use when an error code could not be
+ mapped to a gpg-error code.
GPG_ERR_LDAP_ATTR_GENERAL LDAP General attribute error
GPG_ERR_LDAP_NAME_GENERAL LDAP General name error
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index b3eaf3c..efc40e4 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -336,7 +336,7 @@
666 GPG_ERR_SYSTEM_BUG System bug detected
#
-# Mapping of some error codes from libdns.
+# Mapping of some error codes from libdns and other DNS specific error codes
#
711 GPG_ERR_DNS_UNKNOWN Unknown DNS error
712 GPG_ERR_DNS_SECTION Invalid DNS section
@@ -345,6 +345,7 @@
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
+718 GPG_ERR_DNS_TIMEOUT DNS Timeout
#
# Mapping of LDAP error codes