From d3ff6dcfa042732d0076d273f61e28b13446b356 Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sun, 24 Sep 2017 22:01:14 +0200 Subject: [PATCH] channel: use TlsCertificate from core --- src/mconnect/devicechannel.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mconnect/devicechannel.vala b/src/mconnect/devicechannel.vala index c0f4670..a1c7154 100644 --- a/src/mconnect/devicechannel.vala +++ b/src/mconnect/devicechannel.vala @@ -171,7 +171,7 @@ class DeviceChannel : Object { // stop monitoring socket events unmonitor_events(); - var cert = Core.get_certificate(); + var cert = Core.instance().certificate; // wrap with TLS var tls_conn = TlsServerConnection.@new(_sock_conn, cert);