GNUTLS Patch - revised
Robert Day <[email protected]> Mon, 07 Mar 2005 16:14:55 -0500
| Newsgroups | gmane.comp.gnome.ximian.soup |
|---|---|
| Organization | PC4Kids |
| Message-ID | <[email protected]> |
--=-JvGryiI5D6BV9lBj261v
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
MyBad(tm) Forgot to hit that "Attach" button
File attached..
Rob Day
I don;t know why this has not been caught yet, but...
GnuTLS Changelog shows GNUTLS_CERT_NOT_TRUSTED as removed back in Nov
2003 - Replaced with GNUTLS_CERT_INVALID. Either no one builds newer
TLS, or the Distro's put that definition back in the TLS binaries they
package, who knows. But, Micro-small patch attached removed the
CERT_NOT_TRUSTED check from libsoup, allowing it to build against new
TLS releases.
Rob Day
--=-JvGryiI5D6BV9lBj261v
Content-Disposition: attachment; filename=libsoup-gnutls.diff
Content-Type: text/plain; name=libsoup-gnutls.diff; charset=us-ascii
Content-Transfer-Encoding: 7bit
--- libsoup-2.2.2/libsoup/soup-gnutls.c 2005-03-07 16:05:17.011057608 -0500
+++ libsoup-2.2.2/libsoup/soup-gnutls.c.new 2005-03-07 16:09:23.963515128 -0500
@@ -63,7 +63,6 @@
}
if (status & GNUTLS_CERT_INVALID ||
- status & GNUTLS_CERT_NOT_TRUSTED ||
status & GNUTLS_CERT_REVOKED)
{
g_set_error (err, SOUP_SSL_ERROR,
--=-JvGryiI5D6BV9lBj261v--
_______________________________________________
Soup-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/soup-list