aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_tls_options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/test_tls_options.c')
-rw-r--r--src/testcurl/https/test_tls_options.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testcurl/https/test_tls_options.c b/src/testcurl/https/test_tls_options.c
index e7c85cea..17896b65 100644
--- a/src/testcurl/https/test_tls_options.c
+++ b/src/testcurl/https/test_tls_options.c
@@ -75,7 +75,6 @@ test_unmatching_ssl_version (void * cls, const char *cipher_suite,
75 return 0; 75 return 0;
76} 76}
77 77
78GCRY_THREAD_OPTION_PTHREAD_IMPL;
79 78
80/* setup a temporary transfer test file */ 79/* setup a temporary transfer test file */
81int 80int
@@ -83,12 +82,11 @@ main (int argc, char *const *argv)
83{ 82{
84 unsigned int errorCount = 0; 83 unsigned int errorCount = 0;
85 const char *ssl_version; 84 const char *ssl_version;
86
87 int daemon_flags = 85 int daemon_flags =
88 MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL | MHD_USE_DEBUG; 86 MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL | MHD_USE_DEBUG;
87
89 gcry_control (GCRYCTL_DISABLE_SECMEM, 0); 88 gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
90 gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); 89 gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
91 gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
92#ifdef GCRYCTL_INITIALIZATION_FINISHED 90#ifdef GCRYCTL_INITIALIZATION_FINISHED
93 gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); 91 gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
94#endif 92#endif