diff options
| author | Koop Mast <kwm@FreeBSD.org> | 2016-02-14 18:57:53 +0000 |
|---|---|---|
| committer | Koop Mast <kwm@FreeBSD.org> | 2016-02-14 18:57:53 +0000 |
| commit | b93a80c99281466281db26011356c75bd54ea36c (patch) | |
| tree | cb5a8a1108829deee66dbb334ff2a733162448c6 /net/glib-networking/files/patch-tls_gnutls_gtlsclientconnection-gnutls.c | |
| parent | - Add LICENSE (diff) | |
The FreeBSD GNOME team proudly presents GNOME 3.18 for FreeBSD.
The offical GNOME 3.18 release notes can be found at
https://help.gnome.org/misc/release-notes/3.18/
This update doesn't contain the glib/gtk c++ bindings which will
be done in a another update due to the requirement on c++11 and the
amount of fallout this probably will give.
GDM is still at version 3.16 due to some issues.
Bump mate-themes to use the gtk 3.18 version of the themes.
Thanks to Antoine Brodin for running the exp-runs.
This release was made possible by the following people:
Gustau Perez
Ting-Wei_Lan
PR: 207006
Diffstat (limited to 'net/glib-networking/files/patch-tls_gnutls_gtlsclientconnection-gnutls.c')
| -rw-r--r-- | net/glib-networking/files/patch-tls_gnutls_gtlsclientconnection-gnutls.c | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/net/glib-networking/files/patch-tls_gnutls_gtlsclientconnection-gnutls.c b/net/glib-networking/files/patch-tls_gnutls_gtlsclientconnection-gnutls.c index 58b3a1168620..0e8e34509232 100644 --- a/net/glib-networking/files/patch-tls_gnutls_gtlsclientconnection-gnutls.c +++ b/net/glib-networking/files/patch-tls_gnutls_gtlsclientconnection-gnutls.c @@ -1,6 +1,6 @@ ---- tls/gnutls/gtlsclientconnection-gnutls.c.orig 2015-03-17 14:53:17.000000000 +0100 -+++ tls/gnutls/gtlsclientconnection-gnutls.c 2015-03-17 16:02:39.897699000 +0100 -@@ -309,7 +309,8 @@ g_tls_client_connection_gnutls_finish_ha +--- tls/gnutls/gtlsclientconnection-gnutls.c.orig 2015-04-30 17:57:54.000000000 +0200 ++++ tls/gnutls/gtlsclientconnection-gnutls.c 2015-08-06 17:06:17.000000000 +0200 +@@ -322,7 +322,8 @@ g_assert (inout_error != NULL); @@ -10,12 +10,21 @@ gnutls->priv->cert_requested) { g_clear_error (inout_error); -@@ -327,7 +328,7 @@ g_tls_client_connection_gnutls_finish_ha +@@ -339,7 +340,7 @@ + } - if (gnutls->priv->session_id) + resumed = gnutls_session_is_resumed (g_tls_connection_gnutls_get_session (conn)); +- if (*inout_error || !resumed) ++ if (inout_error && *inout_error || !resumed) { -- if (!*inout_error) -+ if (inout_error && !*inout_error) - { - if (!gnutls_session_is_resumed (g_tls_connection_gnutls_get_session (conn))) - { + /* Clear session data since the server did not accept what we provided. */ + gnutls->priv->session_data_override = FALSE; +@@ -348,7 +349,7 @@ + g_tls_backend_gnutls_remove_session (GNUTLS_CLIENT, gnutls->priv->session_id); + } + +- if (!*inout_error && !resumed) ++ if (inout_error && !*inout_error && !resumed) + { + gnutls_datum_t session_datum; + |
