[libsoup] Fix timeout-test without SSL support



commit 43aa9aa94ba426886902544092abb10a938794b0
Author: Marvin Schmidt <marvin_schmidt gmx net>
Date:   Sun Aug 30 17:37:30 2009 +0200

    Fix timeout-test without SSL support
    
    http://bugzilla.gnome.org/show_bug.cgi?id=593563

 tests/timeout-test.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/timeout-test.c b/tests/timeout-test.c
index 73cad70..663df8e 100644
--- a/tests/timeout-test.c
+++ b/tests/timeout-test.c
@@ -99,6 +99,7 @@ main (int argc, char **argv)
 	g_free (fast_uri);
 	g_free (slow_uri);
 
+#ifdef HAVE_SSL
 	debug_printf (1, "https\n");
 	server = soup_test_server_new_ssl (TRUE);
 	soup_server_add_handler (server, NULL, server_handler, NULL, NULL);
@@ -109,6 +110,7 @@ main (int argc, char **argv)
 	do_timeout_tests (fast_uri, slow_uri);
 	g_free (fast_uri);
 	g_free (slow_uri);
+#endif
 
 	test_cleanup ();
 	return errors != 0;



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