diff options
author | Werner Koch <wk@gnupg.org> | 2011-05-20 10:14:21 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-05-20 10:27:50 +0200 |
commit | d679b4d642170ab131ee086ac1d0951958850f33 (patch) | |
tree | 640a6ea28194a76512e818e00a96845daf4997f8 /common | |
parent | Add fixme note regarding pth_kill (diff) | |
download | gnupg2-d679b4d642170ab131ee086ac1d0951958850f33.tar.xz gnupg2-d679b4d642170ab131ee086ac1d0951958850f33.zip |
Require libgpg-error 1.10
This allows to remove some error code substitutes.
Fixed a typo in gpg.text.
Diffstat (limited to 'common')
-rw-r--r-- | common/ChangeLog | 4 | ||||
-rw-r--r-- | common/util.h | 15 |
2 files changed, 4 insertions, 15 deletions
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 <wk@g10code.com> + + * util.h: Remove some error code substitutes. + 2011-04-25 Werner Koch <wk@g10code.com> * 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 <errno.h> /* We need errno. */ #include <gpg-error.h> /* 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 |