From 8a4ca89565cfed8a87002a25c1610cc52343fe58 Mon Sep 17 00:00:00 2001 From: cedric Date: Tue, 21 Feb 2012 09:24:25 +0000 Subject: [PATCH] eet: fix build without latest GNUTLS. Patch by Lionel Orry git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@68210 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- AUTHORS | 1 + src/lib/eet_cipher.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/AUTHORS b/AUTHORS index ebdd15f..260b216 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,3 +11,4 @@ Mathieu Taillefumier Albin "Lutin" Tonnerre Adam Simpkins Mike Blumenkrantz +Lionel Orry diff --git a/src/lib/eet_cipher.c b/src/lib/eet_cipher.c index 0d4203b..2425e22 100644 --- a/src/lib/eet_cipher.c +++ b/src/lib/eet_cipher.c @@ -857,9 +857,11 @@ eet_identity_check(const void *data_base, return cert_der; # ifdef HAVE_GNUTLS +# if EET_USE_NEW_GNUTLS_API on_error: gcry_md_close(md); return NULL; +# endif # endif #else /* ifdef HAVE_SIGNATURE */ data_base = NULL; -- 2.7.4