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/ChangeLog | 4 ++++ agent/cvt-openpgp.c | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'agent') diff --git a/agent/ChangeLog b/agent/ChangeLog index f4be533f7..b636c50e3 100644 --- a/agent/ChangeLog +++ b/agent/ChangeLog @@ -1,3 +1,7 @@ +2011-03-08 Werner Koch + + * cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: Remove. + 2011-03-03 Ben Kibbey * command.c (cmd_preset_passphrase): Add option --inquire. 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