[glib-networking] Update some GLIB_CHECK_VERSION guards



commit c67ecdf83d7f45e3b7d0009c61884df08d5f9ebb
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Aug 7 08:24:18 2018 -0500

    Update some GLIB_CHECK_VERSION guards
    
    This API missed the boat for 2.60
    
    https://gitlab.gnome.org/GNOME/glib/merge_requests/200

 tls/gnutls/gtlsconnection-gnutls.c | 2 +-
 tls/tests/connection.c             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index c34f8c8..c5edebb 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -1032,7 +1032,7 @@ end_gnutls_io (GTlsConnectionGnutls  *gnutls,
   else if (status == GNUTLS_E_INAPPROPRIATE_FALLBACK)
     {
       g_set_error_literal (error, G_TLS_ERROR,
-#if GLIB_CHECK_VERSION(2, 57, 90)
+#if GLIB_CHECK_VERSION(2, 59, 1)
                            G_TLS_ERROR_INAPPROPRIATE_FALLBACK,
 #else
                            G_TLS_ERROR_MISC,
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 03990f5..3c3b38f 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -2016,7 +2016,7 @@ test_fallback (TestConnection *test,
   g_io_stream_close (test->client_connection, NULL, &error);
   g_assert_no_error (error);
 
-#if GLIB_CHECK_VERSION(2, 57, 90)
+#if GLIB_CHECK_VERSION(2, 59, 1)
   g_assert_error (test->server_error, G_TLS_ERROR, G_TLS_ERROR_INAPPROPRIATE_FALLBACK);
 #else
   g_assert_error (test->server_error, G_TLS_ERROR, G_TLS_ERROR_MISC);


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