eet: fix build without latest GNUTLS.

Patch by Lionel Orry <lionel.orry@gmail.com>


SVN revision: 68210
This commit is contained in:
Cedric BAIL 2012-02-21 09:24:25 +00:00
parent 396572a355
commit 977ada06c3
2 changed files with 3 additions and 0 deletions

View File

@ -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>

View 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;