diff options
Diffstat (limited to 'src/core/handlers.py')
-rw-r--r-- | src/core/handlers.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py index a1e8596c..8eb99cc3 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -1156,6 +1156,10 @@ def incoming_stanza(self, stanza): self.current_tab().refresh() self.doupdate() +def ssl_invalid_chain(self, tb): + self.information('The certificate sent by the server is invalid.', 'Error') + self.disconnect() + def validate_ssl(self, pem): """ Check the server certificate using the slixmpp ssl_cert event |