summaryrefslogtreecommitdiff
path: root/legacy/eet/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-02-21 09:24:25 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-02-21 09:24:25 +0000
commit977ada06c35da4f769d5ca071b0fbd6e72d12e3c (patch)
treed1051bc353194b27b077ba5dd6c83f36ae206561 /legacy/eet/src
parent396572a355dff573361a7a6e616e5ba87e07f8d2 (diff)
eet: fix build without latest GNUTLS.
Patch by Lionel Orry <lionel.orry@gmail.com> SVN revision: 68210
Diffstat (limited to 'legacy/eet/src')
-rw-r--r--legacy/eet/src/lib/eet_cipher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/eet/src/lib/eet_cipher.c b/legacy/eet/src/lib/eet_cipher.c
index 0d4203b77e..2425e22293 100644
--- a/legacy/eet/src/lib/eet_cipher.c
+++ b/legacy/eet/src/lib/eet_cipher.c
@@ -857,9 +857,11 @@ eet_identity_check(const void *data_base,
857 857
858 return cert_der; 858 return cert_der;
859# ifdef HAVE_GNUTLS 859# ifdef HAVE_GNUTLS
860# if EET_USE_NEW_GNUTLS_API
860 on_error: 861 on_error:
861 gcry_md_close(md); 862 gcry_md_close(md);
862 return NULL; 863 return NULL;
864# endif
863# endif 865# endif
864#else /* ifdef HAVE_SIGNATURE */ 866#else /* ifdef HAVE_SIGNATURE */
865 data_base = NULL; 867 data_base = NULL;