[glib-networking] gnutls: update for removal of GTlsConnection::need-certificate
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] gnutls: update for removal of GTlsConnection::need-certificate
- Date: Tue, 7 Dec 2010 10:17:46 +0000 (UTC)
commit cef8ad2a04efda218e6aff511d19d24a2cf86fba
Author: Dan Winship <danw gnome org>
Date: Mon Dec 6 11:07:31 2010 +0100
gnutls: update for removal of GTlsConnection::need-certificate
tls/gnutls/gtlsconnection-gnutls.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index 7269453..14634ee 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -391,10 +391,6 @@ g_tls_connection_gnutls_get_certificate (GTlsConnectionGnutls *gnutls,
GTlsCertificate *cert;
cert = g_tls_connection_get_certificate (G_TLS_CONNECTION (gnutls));
- if (cert)
- g_object_ref (cert);
- else
- cert = g_tls_connection_emit_need_certificate (G_TLS_CONNECTION (gnutls));
st->type = GNUTLS_CRT_X509;
if (cert)
@@ -406,8 +402,6 @@ g_tls_connection_gnutls_get_certificate (GTlsConnectionGnutls *gnutls,
st->cert.x509[0] = g_tls_certificate_gnutls_copy_cert (gnutlscert);
st->key.x509 = g_tls_certificate_gnutls_copy_key (gnutlscert);
st->deinit_all = TRUE;
-
- g_object_unref (cert);
}
else
st->ncerts = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]