From c8ddb867ee13ea0cbe2f43c63f3aa1062565630c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Sep 2013 12:09:46 +0000 Subject: fully initialze modern gcrypt in MHD_init, only use thread initialization with legacy libgcrypt, update tests accordingly --- src/testcurl/https/test_empty_response.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/testcurl/https/test_empty_response.c') diff --git a/src/testcurl/https/test_empty_response.c b/src/testcurl/https/test_empty_response.c index abc2b30a..570febdd 100644 --- a/src/testcurl/https/test_empty_response.c +++ b/src/testcurl/https/test_empty_response.c @@ -183,16 +183,12 @@ testInternalSelectGet () return 0; } -GCRY_THREAD_OPTION_PTHREAD_IMPL; int main (int argc, char *const *argv) { unsigned int errorCount = 0; - gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); - if (!gcry_check_version (GCRYPT_VERSION)) - abort (); if (0 != curl_global_init (CURL_GLOBAL_ALL)) { fprintf (stderr, "Error: %s\n", strerror (errno)); -- cgit v1.2.3