diff options
author | fiaxh <git@lightrise.org> | 2020-12-31 23:19:06 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-12-31 23:19:06 +0100 |
commit | 2c22c0428cb53252930d52e6327f14a6fcc8cf03 (patch) | |
tree | a282774719bd346c47df955b7b35b7754fbf130d /xmpp-vala/src/core/tls_xmpp_stream.vala | |
parent | c7b242a72e411f54192ae74f0bebaf090c4dc17a (diff) | |
download | dino-2c22c0428cb53252930d52e6327f14a6fcc8cf03.tar.gz dino-2c22c0428cb53252930d52e6327f14a6fcc8cf03.zip |
Fix segfault on accept_certificate signal (fixup 81a5505)
Diffstat (limited to 'xmpp-vala/src/core/tls_xmpp_stream.vala')
-rw-r--r-- | xmpp-vala/src/core/tls_xmpp_stream.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/core/tls_xmpp_stream.vala b/xmpp-vala/src/core/tls_xmpp_stream.vala index f47b3c80..043c5c70 100644 --- a/xmpp-vala/src/core/tls_xmpp_stream.vala +++ b/xmpp-vala/src/core/tls_xmpp_stream.vala @@ -2,7 +2,7 @@ public abstract class Xmpp.TlsXmppStream : IoXmppStream { public TlsCertificateFlags? errors; - public delegate bool OnInvalidCert(GLib.TlsConnection conn, GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors); + public delegate bool OnInvalidCert(GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors); protected TlsXmppStream(Jid remote_name) { base(remote_name); @@ -19,7 +19,7 @@ public abstract class Xmpp.TlsXmppStream : IoXmppStream { error_str += @"$(f), "; } } - warning(@"[%p, %s] Tls Certificate Errors: %s", this, this.remote_name, error_str); + warning(@"[%p, %s] Tls Certificate Errors: %s", this, this.remote_name.to_string(), error_str); return false; } }
\ No newline at end of file |