diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-05 18:06:41 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-05 18:06:41 (GMT) |
commit | f32492bec456866fb5101274e6789efc59a47bdc (patch) | |
tree | 5fad08517a769afe3943a7dcbfef2c4c2b3ea850 /Swiften/Client | |
parent | fc585cd8313fec545b4cdae4fe4fed1f75626409 (diff) | |
download | swift-f32492bec456866fb5101274e6789efc59a47bdc.zip swift-f32492bec456866fb5101274e6789efc59a47bdc.tar.bz2 |
Added plumbing for persistent certificate trust checking.
Diffstat (limited to 'Swiften/Client')
-rw-r--r-- | Swiften/Client/ClientSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Client/ClientSession.cpp b/Swiften/Client/ClientSession.cpp index 9e6db5d..13816d3 100644 --- a/Swiften/Client/ClientSession.cpp +++ b/Swiften/Client/ClientSession.cpp @@ -346,7 +346,7 @@ void ClientSession::handleTLSEncrypted() { } void ClientSession::checkTrustOrFinish(Certificate::ref certificate, boost::shared_ptr<CertificateVerificationError> error) { - if (certificateTrustChecker && certificateTrustChecker->isCertificateTrusted(certificate, localJID.getDomain())) { + if (certificateTrustChecker && certificateTrustChecker->isCertificateTrusted(certificate)) { continueAfterTLSEncrypted(); } else { |