diff options
author | Dan Winship <danw@gnome.org> | 2013-04-17 17:38:37 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-04-17 17:38:59 -0400 |
commit | 1498c1a6dcb7f6b9aab93838bc9dfd55fd2a5c59 (patch) | |
tree | 126d402399b2ee3066ba16c3b84bf97490050258 /tests/proxy-test.c | |
parent | c146806dc176f81be0c7554d67f9e981ee07a3b9 (diff) | |
download | libsoup-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.c | 3 |
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]); |