2004-01-29 Joe Shaw <joe@ximian.com>
* libsoup/soup-gnutls.c (verify_certificate): Initialize the
certificate before we try to use it. Ahem.
+2004-01-29 Joe Shaw <joe@ximian.com>
+
+ * libsoup/soup-gnutls.c (verify_certificate): Initialize the
+ certificate before we try to use it. Ahem.
+
2004-01-23 Joe Shaw <joe@ximian.com>
* configure.in: Bump version to 2.1.5 and SOUP_RELEASE to 2
const gnutls_datum* cert_list;
int cert_list_size;
gnutls_x509_crt cert;
+
+ if (gnutls_x509_crt_init (&cert) < 0) {
+ g_warning ("Error initializing certificate.");
+ return FALSE;
+ }
cert_list = gnutls_certificate_get_peers (
session, &cert_list_size);