summaryrefslogtreecommitdiff
path: root/tests/ssl-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ssl-test.c')
-rw-r--r--tests/ssl-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ssl-test.c b/tests/ssl-test.c
index a1df8336..0958d5a2 100644
--- a/tests/ssl-test.c
+++ b/tests/ssl-test.c
@@ -57,7 +57,7 @@ do_strictness_test (gconstpointer data)
g_signal_connect (msg, "accept-certificate",
G_CALLBACK (accept_certificate), NULL);
}
- body = soup_test_session_send (session, msg, NULL, &error);
+ body = soup_session_send_and_read (session, msg, NULL, &error);
soup_test_assert_message_status (msg, test->expected_status);
if (test->expected_status != SOUP_STATUS_OK)
g_assert_error (error, G_TLS_ERROR, G_TLS_ERROR_BAD_CERTIFICATE);