forked from enlightenment/efl
according to the docs you're supposed to set this or else you will be destroyed by lack of mutexes...
SVN revision: 50570
This commit is contained in:
parent
926db95c54
commit
9dec9fa6b5
|
@ -62,6 +62,9 @@ void *alloca (size_t);
|
||||||
|
|
||||||
#ifdef EFL_HAVE_POSIX_THREADS
|
#ifdef EFL_HAVE_POSIX_THREADS
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
|
# ifdef HAVE_GNUTLS
|
||||||
|
GCRY_THREAD_OPTION_PTHREAD_IMPL;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
|
@ -738,7 +741,10 @@ eet_init(void)
|
||||||
WRN(
|
WRN(
|
||||||
"BIG FAT WARNING: I AM UNABLE TO REQUEST SECMEM, Cryptographic operation are at risk !");
|
"BIG FAT WARNING: I AM UNABLE TO REQUEST SECMEM, Cryptographic operation are at risk !");
|
||||||
}
|
}
|
||||||
|
#ifdef EFL_HAVE_POSIX_THREADS
|
||||||
|
if (gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread))
|
||||||
|
WRN("YOU ARE USING PTHREADS, BUT I CANNOT INITIALIZE THREADSAFE GCRYPT OPERATIONS!");
|
||||||
|
#endif
|
||||||
if (gnutls_global_init())
|
if (gnutls_global_init())
|
||||||
goto shutdown_eet;
|
goto shutdown_eet;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue