Commit 11fbfe86 authored by Patrick Griffis's avatar Patrick Griffis Committed by Carlos Garcia Campos
Browse files

ssl-test: Skip test case on older glib-networking

parent 283d1e91
......@@ -429,6 +429,8 @@ do_tls_interaction_msg_test (gconstpointer data)
g_bytes_unref (body);
g_object_unref (msg);
#if GLIB_CHECK_VERSION (2, 69, 1)
/* glib-networking issue fixed by */
/* It should safely fail when the PIN is unhandled */
msg = soup_message_new_from_uri ("GET", uri);
soup_message_add_flags (msg, SOUP_MESSAGE_NEW_CONNECTION);
......@@ -436,14 +438,11 @@ do_tls_interaction_msg_test (gconstpointer data)
G_CALLBACK (request_certificate_cb),
body = soup_test_session_async_send (session, msg, NULL, &error);
#if GLIB_CHECK_VERSION (2, 69, 0)
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CONNECTION_REFUSED);
g_clear_error (&error);
g_bytes_unref (body);
g_object_unref (msg);
/* Handling the request-certificate-password signal asynchronously */
msg = soup_message_new_from_uri ("GET", uri);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment