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, 2 insertions, 2 deletions
diff --git a/src/testcurl/https/test_tls_options.c b/src/testcurl/https/test_tls_options.c
index 17896b65..d3e4e917 100644
--- a/src/testcurl/https/test_tls_options.c
+++ b/src/testcurl/https/test_tls_options.c
@@ -100,9 +100,9 @@ main (int argc, char *const *argv)
100 fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); 100 fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n");
101 return 0; 101 return 0;
102 } 102 }
103 if (NULL != strcasestr (ssl_version, "openssl")) 103 if (0 != strncmp (ssl_version, "GnuTLS", 6))
104 { 104 {
105 fprintf (stderr, "Refusing to run test with OpenSSL. Please install libcurl-gnutls\n"); 105 fprintf (stderr, "This test can be run only with libcurl-gnutls.\n");
106 return 0; 106 return 0;
107 } 107 }
108 108