1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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 <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-07-14 10:40:15 +02:00
parent 66b634f27f
commit c98995efef
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
4 changed files with 12 additions and 40 deletions

View file

@ -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)