Browse Source

channel: use TlsCertificate from core

bboozzoo/tls-support
Maciek Borzecki 7 years ago
parent
commit
d3ff6dcfa0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/mconnect/devicechannel.vala

+ 1
- 1
src/mconnect/devicechannel.vala View File

@ -171,7 +171,7 @@ class DeviceChannel : Object {
// stop monitoring socket events // stop monitoring socket events
unmonitor_events(); unmonitor_events();
var cert = Core.get_certificate();
var cert = Core.instance().certificate;
// wrap with TLS // wrap with TLS
var tls_conn = TlsServerConnection.@new(_sock_conn, cert); var tls_conn = TlsServerConnection.@new(_sock_conn, cert);


Loading…
Cancel
Save