From eb99e8c483a70764408868602ef322602e9e72ce Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 9 Nov 2020 11:48:42 +0100 Subject: Require at least libgpg-error 1.36 * configure.ac (NEED_GPG_ERROR_VERSION): Require 1.36. * src/cJSON.c: Remove code for older version. * src/engine.c (gpgme_get_engine_info): Ditto. * src/gpgme-json.c: Ditto. * src/op-support.c: Ditto. * src/util.h: Ditto. -- Libgpg-error 1.36 has been released more than 18 months ago so it is time to avoid hacks and require this verion. This will for example help Kleopatra to support PIV cards and improves the gpgme-json. Signed-off-by: Werner Koch --- src/util.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index cea5e1fe..bc78c9b8 100644 --- a/src/util.h +++ b/src/util.h @@ -41,15 +41,6 @@ #define DIM(v) (sizeof(v)/sizeof((v)[0])) -#if GPG_ERROR_VERSION_NUMBER < 0x011900 /* 1.25 */ -# define GPG_ERR_ENGINE_TOO_OLD 300 -# define GPG_ERR_TOO_OLD 308 -#endif - -#ifndef GPGRT_ATTR_SENTINEL -# define GPGRT_ATTR_SENTINEL(a) /* */ -#endif - /*-- {posix,w32}-util.c --*/ -- cgit v1.2.3