mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
Reverse OpenSSL <-> GnuTLS check
This commit is contained in:
1 parent
8b93f7cf96
commit
9afe92d579
2 files changed
+4
-4
No files matched your search
@@ -142,9 +142,9 @@ main (int argc, char *const *argv)
|
||||
fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n");
|
||||
return 0;
|
||||
}
|
||||
if (NULL != strcasestr (ssl_version, "openssl"))
|
||||
if (0 != strncmp (ssl_version, "GnuTLS", 6))
|
||||
{
|
||||
fprintf (stderr, "Refusing to run test with OpenSSL. Please install libcurl-gnutls\n");
|
||||
fprintf (stderr, "This test can be run only with libcurl-gnutls.\n");
|
||||
return 0;
|
||||
}
|
||||
if (0 != curl_global_init (CURL_GLOBAL_ALL))
|
||||
|
||||
Reference in new issue
Block a user