mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-27 04:09:31 +03:00
fix #3893 - thanks matwey
This commit is contained in:
@@ -90,6 +90,7 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
|
||||
/**
|
||||
* negotiate a secure connection with server & query negotiated security parameters
|
||||
*/
|
||||
#if LIBCURL_VERSION_NUM >= 0x072200
|
||||
static int
|
||||
test_query_session ()
|
||||
{
|
||||
@@ -161,7 +162,7 @@ test_query_session ()
|
||||
free (cbc.buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
int
|
||||
main (int argc, char *const *argv)
|
||||
@@ -177,7 +178,9 @@ main (int argc, char *const *argv)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user