gnutls: correctly handle self-signed anchor certificates
gnutls: correctly handle self-signed anchor certificates

If a self-signed certificate is an anchor of the database, then it
should verify according to g_tls_database_verify_chain(); we were
accidentally reporting G_TLS_CERTIFICATE_UNKNOWN_CA in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=660508

Distrotech/glib-networking,Distrotech/glib-networking,GNOME/glib-networking,Distrotech/glib-networking,GNOME/glib-networking,GNOME/glib-networking