From b0637a5ec5a3337a24d9a63383cd6574de1e6314 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: svn+ssh://svn.enlightenment.org/var/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