aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/tls_multi_thread_mode_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/tls_multi_thread_mode_test.c')
-rw-r--r--src/testcurl/https/tls_multi_thread_mode_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testcurl/https/tls_multi_thread_mode_test.c b/src/testcurl/https/tls_multi_thread_mode_test.c
index 1598ddc9..ee5a8d12 100644
--- a/src/testcurl/https/tls_multi_thread_mode_test.c
+++ b/src/testcurl/https/tls_multi_thread_mode_test.c
@@ -130,6 +130,11 @@ main (int argc, char *const *argv)
130 /* initialize random seed used by curl clients */ 130 /* initialize random seed used by curl clients */
131 unsigned int iseed = (unsigned int) time (NULL); 131 unsigned int iseed = (unsigned int) time (NULL);
132 srand (iseed); 132 srand (iseed);
133 if (NULL != strcasestr (curl_version_info (CURL_VERSION_SSL)->libssh_version, "openssl"))
134 {
135 fprintf (stderr, "Refusing to run test with OpenSSL. Please install libcurl-gnutls\n");
136 return 0;
137 }
133 if (0 != curl_global_init (CURL_GLOBAL_ALL)) 138 if (0 != curl_global_init (CURL_GLOBAL_ALL))
134 { 139 {
135 fprintf (stderr, "Error: %s\n", strerror (errno)); 140 fprintf (stderr, "Error: %s\n", strerror (errno));