From d679b4d642170ab131ee086ac1d0951958850f33 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 20 May 2011 10:14:21 +0200 Subject: Require libgpg-error 1.10 This allows to remove some error code substitutes. Fixed a typo in gpg.text. --- common/ChangeLog | 4 ++++ common/util.h | 15 --------------- 2 files changed, 4 insertions(+), 15 deletions(-) (limited to 'common') diff --git a/common/ChangeLog b/common/ChangeLog index a68246e4c..d77fad586 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,7 @@ +2011-05-20 Werner Koch + + * util.h: Remove some error code substitutes. + 2011-04-25 Werner Koch * userids.c (classify_user_id): Add arg OPENPGP_HACK to fix diff --git a/common/util.h b/common/util.h index fc3dd02df..45bccecd2 100644 --- a/common/util.h +++ b/common/util.h @@ -24,24 +24,9 @@ #include /* We need errno. */ #include /* We need gpg_error_t. */ /* Add error codes available only in newer versions of libgpg-error. */ -#ifndef GPG_ERR_MISSING_KEY -#define GPG_ERR_MISSING_KEY 181 -#endif -#ifndef GPG_ERR_LIMIT_REACHED -#define GPG_ERR_LIMIT_REACHED 183 -#endif -#ifndef GPG_ERR_NOT_INITIALIZED -#define GPG_ERR_NOT_INITIALIZED 184 -#endif -#ifndef GPG_ERR_MISSING_ISSUER_CERT -#define GPG_ERR_MISSING_ISSUER_CERT 185 -#endif #ifndef GPG_ERR_NO_KEYSERVER #define GPG_ERR_NO_KEYSERVER 186 #endif -#ifndef GPG_ERR_FULLY_CANCELED -#define GPG_ERR_FULLY_CANCELED 198 -#endif #ifndef GPG_ERR_INV_CURVE #define GPG_ERR_INV_CURVE 187 #endif -- cgit v1.2.3