diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-23 12:09:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-23 12:09:46 +0000 |
commit | c8ddb867ee13ea0cbe2f43c63f3aa1062565630c (patch) | |
tree | 65a205a36b7b0a479d967547ca3ed63591d453ac /src/testcurl/https/test_empty_response.c | |
parent | 902291420f08bee4813edcc2cf096072ddbf444c (diff) | |
download | libmicrohttpd-c8ddb867ee13ea0cbe2f43c63f3aa1062565630c.tar.gz libmicrohttpd-c8ddb867ee13ea0cbe2f43c63f3aa1062565630c.zip |
fully initialze modern gcrypt in MHD_init, only use thread initialization with legacy libgcrypt, update tests accordingly
Diffstat (limited to 'src/testcurl/https/test_empty_response.c')
-rw-r--r-- | src/testcurl/https/test_empty_response.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 () | |||
183 | return 0; | 183 | return 0; |
184 | } | 184 | } |
185 | 185 | ||
186 | GCRY_THREAD_OPTION_PTHREAD_IMPL; | ||
187 | 186 | ||
188 | int | 187 | int |
189 | main (int argc, char *const *argv) | 188 | main (int argc, char *const *argv) |
190 | { | 189 | { |
191 | unsigned int errorCount = 0; | 190 | unsigned int errorCount = 0; |
192 | 191 | ||
193 | gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); | ||
194 | if (!gcry_check_version (GCRYPT_VERSION)) | ||
195 | abort (); | ||
196 | if (0 != curl_global_init (CURL_GLOBAL_ALL)) | 192 | if (0 != curl_global_init (CURL_GLOBAL_ALL)) |
197 | { | 193 | { |
198 | fprintf (stderr, "Error: %s\n", strerror (errno)); | 194 | fprintf (stderr, "Error: %s\n", strerror (errno)); |