fully initialze modern gcrypt in MHD_init, only use thread initialization with legacy libgcrypt, update tests accordingly

This commit is contained in:
Christian Grothoff committed 2013-09-23 12:09:46 +00:00
1 parent 902291420f
commit c8ddb867ee
15 files changed
+9 -56

No files matched your search

@@ -123,10 +123,6 @@ test_parallel_clients (void *cls, const char *cipher_suite,
}
GCRY_THREAD_OPTION_PTHREAD_IMPL;
int
main (int argc, char *const *argv)
{
@@ -136,9 +132,6 @@ main (int argc, char *const *argv)
/* initialize random seed used by curl clients */
unsigned int iseed = (unsigned int) time (NULL);
gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
#ifdef GCRYCTL_INITIALIZATION_FINISHED
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
#endif