aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-01-04 21:13:44 +0100
committerfiaxh <git@mx.ax.lt>2018-01-04 21:17:56 +0100
commita8cc94c188c085e8788e072017ef21d7b7812a55 (patch)
treef537499e6106144a0b6dd756d25d4d6252f146fe /xmpp-vala/src/module
parent6b58b348fa42c3206f56c4b897a255d81f0ea7a9 (diff)
downloaddino-a8cc94c188c085e8788e072017ef21d7b7812a55.tar.gz
dino-a8cc94c188c085e8788e072017ef21d7b7812a55.zip
Show error on invalid TLS certificate
Diffstat (limited to 'xmpp-vala/src/module')
-rw-r--r--xmpp-vala/src/module/tls.vala4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmpp-vala/src/module/tls.vala b/xmpp-vala/src/module/tls.vala
index dcd7ab40..5defc72c 100644
--- a/xmpp-vala/src/module/tls.vala
+++ b/xmpp-vala/src/module/tls.vala
@@ -27,10 +27,6 @@ namespace Xmpp.Tls {
var io_stream = stream.get_stream();
if (io_stream == null) return;
var conn = TlsClientConnection.new(io_stream, identity);
- // TODO: Add certificate error handling, that is, allow the
- // program to handle certificate errors. The certificate
- // *is checked* by TlsClientConnection, and connection is
- // not allowed to continue in case that there is an error.
stream.reset_stream(conn);
var flag = stream.get_flag(Flag.IDENTITY);