eet: fix build without latest GNUTLS.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 21 Feb 2012 09:24:25 +0000 (09:24 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 21 Feb 2012 09:24:25 +0000 (09:24 +0000)
Patch by Lionel Orry <lionel.orry@gmail.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@68210 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

AUTHORS
src/lib/eet_cipher.c

diff --git a/AUTHORS b/AUTHORS
index ebdd15f..260b216 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -11,3 +11,4 @@ Mathieu Taillefumier <mathieu.taillefumier@free.fr>
 Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>
 Adam Simpkins <adam@adamsimpkins.net>
 Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
+Lionel Orry <lionel.orry@gmail.com>
index 0d4203b..2425e22 100644 (file)
@@ -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;