gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r36085 - libmicrohttpd/src/testcurl/https
Date: Wed, 15 Jul 2015 14:15:11 +0200

Author: grothoff
Date: 2015-07-15 14:15:11 +0200 (Wed, 15 Jul 2015)
New Revision: 36085

Modified:
   libmicrohttpd/src/testcurl/https/test_https_session_info.c
Log:
fix #3893 - thanks matwey

Modified: libmicrohttpd/src/testcurl/https/test_https_session_info.c
===================================================================
--- libmicrohttpd/src/testcurl/https/test_https_session_info.c  2015-07-15 
12:14:12 UTC (rev 36084)
+++ libmicrohttpd/src/testcurl/https/test_https_session_info.c  2015-07-15 
12:15:11 UTC (rev 36085)
@@ -90,6 +90,7 @@
 /**
  * negotiate a secure connection with server & query negotiated security 
parameters
  */
+#if LIBCURL_VERSION_NUM >= 0x072200
 static int
 test_query_session ()
 {
@@ -161,8 +162,8 @@
   free (cbc.buf);
   return 0;
 }
+#endif
 
-
 int
 main (int argc, char *const *argv)
 {
@@ -177,7 +178,9 @@
       fprintf (stderr, "Error (code: %u)\n", errorCount);
       return -1;
     }
+#if LIBCURL_VERSION_NUM >= 0x072200
   errorCount += test_query_session ();
+#endif
   print_test_result (errorCount, argv[0]);
   curl_global_cleanup ();
   if (errorCount > 0)




reply via email to

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