diff options
author | Werner Koch <[email protected]> | 2016-07-14 08:40:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-07-14 08:48:34 +0000 |
commit | c98995efefbdebea8f53d54ba2df4217dfd31ad4 (patch) | |
tree | fcdc68614342f8d944e56583b2be614b3f56b476 /common/util.h | |
parent | build: Update config.{guess,sub} to {2016-05-15,2016-06-20}. (diff) | |
download | gnupg-c98995efefbdebea8f53d54ba2df4217dfd31ad4.tar.gz gnupg-c98995efefbdebea8f53d54ba2df4217dfd31ad4.zip |
build: Require latest released libraries
* agent/protect.c (OCB_MODE_SUPPORTED): Remove macro.
(do_encryption): Always support OCB.
(do_decryption): Ditto.
(agent_unprotect): Ditto.
* dirmngr/server.c (is_tor_running): Unconditionally build this.
--
Although not technically required, it is easier to require them to
avoid bug reports due to too old library versions.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/common/util.h b/common/util.h index c84847ad7..eb7a3fd31 100644 --- a/common/util.h +++ b/common/util.h @@ -36,11 +36,10 @@ #include <gpg-error.h> /* We need gpg_error_t and estream. */ /* These error codes are used but not defined in the required - libgpg-error version. Define them here. */ -/* Example: (#if GPG_ERROR_VERSION_NUMBER < 0x011500 // 1.21) */ -#if GPG_ERROR_VERSION_NUMBER < 0x011600 /* 1.22 */ -# define GPG_ERR_DB_CORRUPTED 218 -#endif /* gpg_error < 1.22 */ + * libgpg-error version. Define them here. + * Example: (#if GPG_ERROR_VERSION_NUMBER < 0x011500 // 1.21) + */ + /* Hash function used with libksba. */ #define HASH_FNC ((void (*)(void *, const void*,size_t))gcry_md_write) |