[glib-networking] tests: Remove check for old GnuTLS rehandshaking bug



commit 2ef2af4ecd6bf06bc7000d7e13caf72a2eac7448
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Apr 15 10:44:01 2018 -0500

    tests: Remove check for old GnuTLS rehandshaking bug
    
    We require newer GnuTLS to build nowadays

 tls/tests/connection.c |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 64ca464..5560351 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -1562,29 +1562,10 @@ test_simultaneous_async (TestConnection *test,
   g_assert_cmpstr (test->buf, ==, TEST_DATA);
 }
 
-static gboolean
-check_gnutls_has_rehandshaking_bug (void)
-{
-  const char *version = gnutls_check_version (NULL);
-
-  return (!strcmp (version, "3.1.27") ||
-          !strcmp (version, "3.1.28") ||
-          !strcmp (version, "3.2.19") ||
-          !strcmp (version, "3.3.8") ||
-          !strcmp (version, "3.3.9") ||
-          !strcmp (version, "3.3.10"));
-}
-
 static void
 test_simultaneous_async_rehandshake (TestConnection *test,
                                      gconstpointer   data)
 {
-  if (check_gnutls_has_rehandshaking_bug ())
-    {
-      g_test_skip ("test would fail due to gnutls bug 108690");
-      return;
-    }
-
   test->rehandshake = TRUE;
   test_simultaneous_async (test, data);
 }
@@ -1679,12 +1660,6 @@ static void
 test_simultaneous_sync_rehandshake (TestConnection *test,
                                     gconstpointer   data)
 {
-  if (check_gnutls_has_rehandshaking_bug ())
-    {
-      g_test_skip ("test would fail due to gnutls bug 108690");
-      return;
-    }
-
   test->rehandshake = TRUE;
   test_simultaneous_sync (test, data);
 }


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