forked from enlightenment/efl
* eet: Fix compilation when disabling signature, with gnutls enabled.
SVN revision: 41256
This commit is contained in:
parent
dbaeb5eaba
commit
0e2a57f8c8
|
@ -348,6 +348,7 @@ eet_identity_compute_sha1(const void *data_base, unsigned int data_length,
|
||||||
{
|
{
|
||||||
void *result;
|
void *result;
|
||||||
|
|
||||||
|
#ifdef HAVE_SIGNATURE
|
||||||
# ifdef HAVE_GNUTLS
|
# ifdef HAVE_GNUTLS
|
||||||
result = malloc(gcry_md_get_algo_dlen(GCRY_MD_SHA1));
|
result = malloc(gcry_md_get_algo_dlen(GCRY_MD_SHA1));
|
||||||
if (!result) return NULL;
|
if (!result) return NULL;
|
||||||
|
@ -364,6 +365,9 @@ eet_identity_compute_sha1(const void *data_base, unsigned int data_length,
|
||||||
# else
|
# else
|
||||||
result = NULL;
|
result = NULL;
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
result = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue