[glib-networking] Update skip message for rehandshaking tests



commit 70b7968542024c632a763eaf8d7ddfbd899b65af
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Apr 17 19:20:47 2018 -0500

    Update skip message for rehandshaking tests
    
    And check only for supported versions of GnuTLS

 tls/tests/connection.c |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index e662e5b..94645c3 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -1567,14 +1567,8 @@ 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") ||
-          !strcmp (version, "3.6.1") ||
-          !strcmp (version, "3.6.2"));
+  return !strcmp (version, "3.6.1") ||
+         !strcmp (version, "3.6.2");
 }
 
 static void
@@ -1583,7 +1577,7 @@ test_simultaneous_async_rehandshake (TestConnection *test,
 {
   if (check_gnutls_has_rehandshaking_bug ())
     {
-      g_test_skip ("test would fail due to https://bugzilla.gnome.org/show_bug.cgi?id=794286#c13";);
+      g_test_skip ("test would fail due to https://gitlab.com/gnutls/gnutls/issues/426";);
       return;
     }
 
@@ -1683,7 +1677,7 @@ test_simultaneous_sync_rehandshake (TestConnection *test,
 {
   if (check_gnutls_has_rehandshaking_bug ())
     {
-      g_test_skip ("test would fail due to https://bugzilla.gnome.org/show_bug.cgi?id=794286#c13";);
+      g_test_skip ("test would fail due to https://gitlab.com/gnutls/gnutls/issues/426";);
       return;
     }
 


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