aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_https_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/test_https_get.c')
-rw-r--r--src/testcurl/https/test_https_get.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/testcurl/https/test_https_get.c b/src/testcurl/https/test_https_get.c
index 29e6d0eb..c44eb9ea 100644
--- a/src/testcurl/https/test_https_get.c
+++ b/src/testcurl/https/test_https_get.c
@@ -95,9 +95,6 @@ test_secure_get (FILE * test_fd,
95} 95}
96 96
97 97
98GCRY_THREAD_OPTION_PTHREAD_IMPL;
99
100
101int 98int
102main (int argc, char *const *argv) 99main (int argc, char *const *argv)
103{ 100{
@@ -106,11 +103,7 @@ main (int argc, char *const *argv)
106 const char *aes256_sha_sslv3 = "AES256-SHA"; 103 const char *aes256_sha_sslv3 = "AES256-SHA";
107 const char *des_cbc3_sha_tlsv1 = "DES-CBC3-SHA"; 104 const char *des_cbc3_sha_tlsv1 = "DES-CBC3-SHA";
108 105
109
110 if (!gcry_check_version (GCRYPT_VERSION))
111 abort ();
112 gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); 106 gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
113 gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
114#ifdef GCRYCTL_INITIALIZATION_FINISHED 107#ifdef GCRYCTL_INITIALIZATION_FINISHED
115 gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); 108 gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
116#endif 109#endif