aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-12-14 09:09:08 +0000
committerWerner Koch <[email protected]>2016-12-14 14:57:16 +0000
commitaae68a3ccd3d9870162b3ffd49eae08d5bf1b1e1 (patch)
treeca9d490468f19032d2a5c107f3e1e33073bd1a86
parentdirmngr: New libdns snapshot (diff)
downloadgnupg-aae68a3ccd3d9870162b3ffd49eae08d5bf1b1e1.tar.gz
gnupg-aae68a3ccd3d9870162b3ffd49eae08d5bf1b1e1.zip
common: Add replacements for error codes from gpg-error 1.26.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--common/util.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h
index 6e437b984..a7d7e863b 100644
--- a/common/util.h
+++ b/common/util.h
@@ -40,7 +40,19 @@
* Example: (#if GPG_ERROR_VERSION_NUMBER < 0x011500 // 1.21)
*/
#if GPG_ERROR_VERSION_NUMBER < 0x011a00 /* 1.26 */
-# define GPG_ERR_UNKNOWN_FLAG 309
+# define GPG_ERR_UNKNOWN_FLAG 309
+# define GPG_ERR_INV_ORDER 310
+# define GPG_ERR_ALREADY_FETCHED 311
+# define GPG_ERR_TRY_LATER 312
+# define GPG_ERR_SYSTEM_BUG 666
+# define GPG_ERR_DNS_UNKNOWN 711
+# define GPG_ERR_DNS_SECTION 712
+# define GPG_ERR_DNS_ADDRESS 713
+# define GPG_ERR_DNS_NO_QUERY 714
+# define GPG_ERR_DNS_NO_ANSWER 715
+# define GPG_ERR_DNS_CLOSED 716
+# define GPG_ERR_DNS_VERIFY 717
+# define GPG_ERR_DNS_TIMEOUT 718
#endif