forked from ports/contrib
18 lines
661 B
Diff
18 lines
661 B
Diff
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)
|
|
{
|
|
|