libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit a930ef0fe6ac38edb4ac9e20fcf7798c279c3822
parent f8147ac8991e07f41edd7d2eb81366e05d0bd6aa
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 11 Jun 2012 11:25:24 +0000

-check for OpenSSL

Diffstat:
Msrc/testcurl/https/tls_multi_thread_mode_test.c | 5+++++
1 file 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 @@ -130,6 +130,11 @@ main (int argc, char *const *argv) /* initialize random seed used by curl clients */ unsigned int iseed = (unsigned int) time (NULL); srand (iseed); + if (NULL != strcasestr (curl_version_info (CURL_VERSION_SSL)->libssh_version, "openssl")) + { + fprintf (stderr, "Refusing to run test with OpenSSL. Please install libcurl-gnutls\n"); + return 0; + } if (0 != curl_global_init (CURL_GLOBAL_ALL)) { fprintf (stderr, "Error: %s\n", strerror (errno));