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:
parent
66b634f27f
commit
c98995efef
4 changed files with 12 additions and 40 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue