gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21879 - libmicrohttpd/src/testcurl/https


From: gnunet
Subject: [GNUnet-SVN] r21879 - libmicrohttpd/src/testcurl/https
Date: Mon, 11 Jun 2012 13:25:24 +0200

Author: grothoff
Date: 2012-06-11 13:25:24 +0200 (Mon, 11 Jun 2012)
New Revision: 21879

Modified:
   libmicrohttpd/src/testcurl/https/tls_multi_thread_mode_test.c
Log:
-check for OpenSSL

Modified: libmicrohttpd/src/testcurl/https/tls_multi_thread_mode_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_multi_thread_mode_test.c       
2012-06-11 11:15:14 UTC (rev 21878)
+++ libmicrohttpd/src/testcurl/https/tls_multi_thread_mode_test.c       
2012-06-11 11:25:24 UTC (rev 21879)
@@ -130,6 +130,11 @@
   /* 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));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]