aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-21 15:38:33 +0000
committerWerner Koch <[email protected]>2015-10-21 15:54:43 +0000
commitffe60eb3d2b8f7d6c506804ce4645d695c91f237 (patch)
treec0fb703857ff3c733e19a5218e8a9c2ba9dccf38 /common/util.h
parentgpg: If the saved trust model is unknown, default to tofu+pgp. (diff)
downloadgnupg-ffe60eb3d2b8f7d6c506804ce4645d695c91f237.tar.gz
gnupg-ffe60eb3d2b8f7d6c506804ce4645d695c91f237.zip
common: Add more replacement error codes.
* common/util.h (GPG_ERR_SERVER_FAILED): New. (GPG_ERR_NO_KEY): New. (GPG_ERR_NO_NAME): New. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index af1a31914..06d5f8772 100644
--- a/common/util.h
+++ b/common/util.h
@@ -126,6 +126,9 @@
# define GPG_ERR_LDAP_PROX_AUTH_DENIED 891
#endif /*GPG_ERROR_VERSION_NUMBER < 0x011300*/
#if GPG_ERROR_VERSION_NUMBER < 0x011500 /* 1.21 */
+# define GPG_ERR_SERVER_FAILED 219
+# define GPG_ERR_NO_KEY 220
+# define GPG_ERR_NO_NAME 221
# define GPG_ERR_TRUE 255
# define GPG_ERR_FALSE 256
#endif