[glib-networking/mcatanzaro/#92: 3/5] readwrite_after_connection_destroyed test should not request client auth



commit 542d7b407d5cd7cf7c2293649717f253836ca98e
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Jul 12 12:11:15 2019 -0500

    readwrite_after_connection_destroyed test should not request client auth
    
    This isn't supposed to be a client auth test. I'm not sure how it is
    that I wound up with this here; you'd think I copypasted it, but we
    didn't have any other tests using G_TLS_AUTHENTICATION_REQUESTED.
    
    Anyway, it makes no difference to the test results. It's just not what
    we're trying to test here.

 tls/tests/connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 5f13763..2da20ce 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -2221,7 +2221,7 @@ test_readwrite_after_connection_destroyed (TestConnection *test,
 
   g_test_bug ("792219");
 
-  connection = start_async_server_and_connect_to_it (test, G_TLS_AUTHENTICATION_REQUESTED);
+  connection = start_async_server_and_connect_to_it (test, G_TLS_AUTHENTICATION_NONE);
   test->client_connection = g_tls_client_connection_new (connection, test->identity, &error);
   g_assert_no_error (error);
   g_object_unref (connection);


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