From c98995efefbdebea8f53d54ba2df4217dfd31ad4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 14 Jul 2016 10:40:15 +0200 Subject: 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 --- common/util.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'common/util.h') 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 /* 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) -- cgit v1.2.3