diff options
Diffstat (limited to 'glib-networking/gnutls3-API.patch')
-rw-r--r-- | glib-networking/gnutls3-API.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/glib-networking/gnutls3-API.patch b/glib-networking/gnutls3-API.patch new file mode 100644 index 000000000..3923666ba --- /dev/null +++ b/glib-networking/gnutls3-API.patch @@ -0,0 +1,17 @@ +http://projects.archlinux.org/svntogit/packages.git/tree/glib-networking/repos/extra-i686/glib-networking-2.29.9-port-gnutls3-API.patch +--- tls/gnutls/gtlsconnection-gnutls.c ++++ tls/gnutls/gtlsconnection-gnutls.c 2011-08-04 00:40:33.194189789 +0200 +@@ -860,9 +860,10 @@ + + if (peer_certificate) + { +- int status; ++ int verify_ret; ++ unsigned int status; + +- status = gnutls_certificate_verify_peers (gnutls->priv->session); ++ verify_ret = gnutls_certificate_verify_peers2 (gnutls->priv->session, &status); + peer_certificate_errors = g_tls_certificate_gnutls_convert_flags (status); + if (peer_certificate_errors) + { + |