From 5bac5040dc93343e1e89916b263390b0e52040bf Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 25 Feb 2013 13:40:10 +0100 Subject: [PATCH] Require libgpg-error 1.11. * configure.ac: Require libgpg-error 1.11. * common/util.h (GPG_ERR_NO_KEYSERVER, GPG_ERR_INV_CURVE) (GPG_ERR_UNKNOWN_CURVE): Remove fallback definitions. --- common/util.h | 10 ---------- configure.ac | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/common/util.h b/common/util.h index c8a008fd7..73ba84e41 100644 --- a/common/util.h +++ b/common/util.h @@ -34,16 +34,6 @@ #include /* We need this for the memory function protos. */ #include /* We need errno. */ #include /* We need gpg_error_t. */ -/* Add error codes available only in newer versions of libgpg-error. */ -#ifndef GPG_ERR_NO_KEYSERVER -#define GPG_ERR_NO_KEYSERVER 186 -#endif -#ifndef GPG_ERR_INV_CURVE -#define GPG_ERR_INV_CURVE 187 -#endif -#ifndef GPG_ERR_UNKNOWN_CURVE -#define GPG_ERR_UNKNOWN_CURVE 188 -#endif /* Hash function used with libksba. */ diff --git a/configure.ac b/configure.ac index cf5ab3fa6..353546a09 100644 --- a/configure.ac +++ b/configure.ac @@ -43,7 +43,7 @@ m4_define([mym4_full_version],[mym4_version[]mym4_betastring]) AC_INIT([gnupg],[mym4_full_version], [http://bugs.gnupg.org]) -NEED_GPG_ERROR_VERSION=1.10 +NEED_GPG_ERROR_VERSION=1.11 NEED_LIBGCRYPT_API=1 NEED_LIBGCRYPT_VERSION=1.5.0