Package: telepathy-idle / 0.1.11-2+deb7u1

0002-Don-t-disable-parts-of-TLS-certificate-validation.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Simon McVittie <smcv@debian.org>
Date: Wed, 24 Apr 2013 16:43:00 +0100
Subject: Don't disable parts of TLS certificate validation

This breaks one regression test, but is a simpler fix than was used
upstream.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63810
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706094
Forwarded: not-needed, fixed differently upstream
---
 src/idle-server-connection.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/idle-server-connection.c b/src/idle-server-connection.c
index 5b8629c..8c8eeff 100644
--- a/src/idle-server-connection.c
+++ b/src/idle-server-connection.c
@@ -469,9 +469,4 @@ IdleServerConnectionState idle_server_connection_get_state(IdleServerConnection
 void idle_server_connection_set_tls(IdleServerConnection *conn, gboolean tls) {
 	IdleServerConnectionPrivate *priv = IDLE_SERVER_CONNECTION_GET_PRIVATE(conn);
 	g_socket_client_set_tls(priv->socket_client, tls);
-	g_socket_client_set_tls_validation_flags(priv->socket_client,
-		G_TLS_CERTIFICATE_VALIDATE_ALL
-		& ~G_TLS_CERTIFICATE_UNKNOWN_CA
-		& ~G_TLS_CERTIFICATE_BAD_IDENTITY
-		& ~G_TLS_CERTIFICATE_EXPIRED);
 }