From 327af90594204db9683fcee5c8c6b8098c8da37a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 8 Mar 2011 12:23:59 +0100 Subject: Require libgcrypt 1.5 Without Libgcrypt 1.5 is was not possible to use ECC keys. ECC is major new feature and thus it does not make sense to allow building with an older Libgcrypt without supporting ECC. Also fixed a few missing prototypes. --- agent/cvt-openpgp.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'agent/cvt-openpgp.c') diff --git a/agent/cvt-openpgp.c b/agent/cvt-openpgp.c index 690459330..1595a324b 100644 --- a/agent/cvt-openpgp.c +++ b/agent/cvt-openpgp.c @@ -28,13 +28,6 @@ #include "i18n.h" #include "cvt-openpgp.h" -/* Macros for compatibility with older libgcrypt versions. */ -#ifndef HAVE_GCRY_PK_ECDSA -# define GCRY_PK_ECDH 302 -#endif - - - /* Helper to pass data via the callback to do_unprotect. */ struct try_do_unprotect_arg_s -- cgit v1.2.3