diff options
Diffstat (limited to 'src/testcurl/https/test_tls_extensions.c')
-rw-r--r-- | src/testcurl/https/test_tls_extensions.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testcurl/https/test_tls_extensions.c b/src/testcurl/https/test_tls_extensions.c index 5d61c59e..2859fd9e 100644 --- a/src/testcurl/https/test_tls_extensions.c +++ b/src/testcurl/https/test_tls_extensions.c | |||
@@ -193,6 +193,8 @@ cleanup: | |||
193 | return ret; | 193 | return ret; |
194 | } | 194 | } |
195 | 195 | ||
196 | GCRY_THREAD_OPTION_PTHREAD_IMPL | ||
197 | |||
196 | int | 198 | int |
197 | main (int argc, char *const *argv) | 199 | main (int argc, char *const *argv) |
198 | { | 200 | { |
@@ -208,6 +210,12 @@ main (int argc, char *const *argv) | |||
208 | -1 | 210 | -1 |
209 | }; | 211 | }; |
210 | 212 | ||
213 | |||
214 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); | ||
215 | gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); | ||
216 | #ifdef GCRYCTL_INITIALIZATION_FINISHED | ||
217 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); | ||
218 | #endif | ||
211 | MHD_gtls_global_set_log_level (11); | 219 | MHD_gtls_global_set_log_level (11); |
212 | 220 | ||
213 | if ((test_fd = setup_test_file ()) == NULL) | 221 | if ((test_fd = setup_test_file ()) == NULL) |