summaryrefslogtreecommitdiff
path: root/tests/proxy-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-04-17 17:38:37 -0400
committerDan Winship <danw@gnome.org>2013-04-17 17:38:59 -0400
commit1498c1a6dcb7f6b9aab93838bc9dfd55fd2a5c59 (patch)
tree126d402399b2ee3066ba16c3b84bf97490050258 /tests/proxy-test.c
parentc146806dc176f81be0c7554d67f9e981ee07a3b9 (diff)
downloadlibsoup-1498c1a6dcb7f6b9aab93838bc9dfd55fd2a5c59.tar.gz
tests: fix to pass when glib-networking TLS isn't available
Diffstat (limited to 'tests/proxy-test.c')
-rw-r--r--tests/proxy-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/proxy-test.c b/tests/proxy-test.c
index 075289dc..44d125d0 100644
--- a/tests/proxy-test.c
+++ b/tests/proxy-test.c
@@ -340,6 +340,9 @@ do_proxy_redirect_test (void)
SoupURI *proxy_uri, *req_uri, *new_uri;
SoupMessage *msg;
+ if (!tls_available)
+ return;
+
debug_printf (1, "\nTesting redirection through proxy\n");
proxy_uri = soup_uri_new (proxies[SIMPLE_PROXY]);