aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_https_get_parallel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/test_https_get_parallel.c')
-rw-r--r--src/testcurl/https/test_https_get_parallel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/testcurl/https/test_https_get_parallel.c b/src/testcurl/https/test_https_get_parallel.c
index 33cf5e42..9ac330f0 100644
--- a/src/testcurl/https/test_https_get_parallel.c
+++ b/src/testcurl/https/test_https_get_parallel.c
@@ -121,7 +121,6 @@ test_parallel_clients (void * cls, const char *cipher_suite,
121 return 0; 121 return 0;
122} 122}
123 123
124GCRY_THREAD_OPTION_PTHREAD_IMPL;
125 124
126int 125int
127main (int argc, char *const *argv) 126main (int argc, char *const *argv)
@@ -132,7 +131,6 @@ main (int argc, char *const *argv)
132 /* initialize random seed used by curl clients */ 131 /* initialize random seed used by curl clients */
133 unsigned int iseed = (unsigned int) time (NULL); 132 unsigned int iseed = (unsigned int) time (NULL);
134 srand (iseed); 133 srand (iseed);
135 gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
136 if (0 != curl_global_init (CURL_GLOBAL_ALL)) 134 if (0 != curl_global_init (CURL_GLOBAL_ALL))
137 { 135 {
138 fprintf (stderr, "Error: %s\n", strerror (errno)); 136 fprintf (stderr, "Error: %s\n", strerror (errno));