From f1effdc5ecd0cc52a28db7ae28a5c28f33486542 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 28 Sep 2015 18:13:37 +0200 Subject: common: Provide two new error code replacements. * common/util.h (GPG_ERR_FALSE, GPG_ERR_TRUE): Rew replcements. Signed-off-by: Werner Koch --- common/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common') diff --git a/common/util.h b/common/util.h index 66749eaaa..af1a31914 100644 --- a/common/util.h +++ b/common/util.h @@ -125,6 +125,10 @@ # define GPG_ERR_LDAP_ASSERTION_FAILED 890 # 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_TRUE 255 +# define GPG_ERR_FALSE 256 +#endif /* Hash function used with libksba. */ #define HASH_FNC ((void (*)(void *, const void*,size_t))gcry_md_write) -- cgit v1.2.3