diff options
Diffstat (limited to 'Swiften/Client/UnitTest')
-rw-r--r-- | Swiften/Client/UnitTest/ClientSessionTest.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Swiften/Client/UnitTest/ClientSessionTest.cpp b/Swiften/Client/UnitTest/ClientSessionTest.cpp index 2cd9fd2..43a8bf3 100644 --- a/Swiften/Client/UnitTest/ClientSessionTest.cpp +++ b/Swiften/Client/UnitTest/ClientSessionTest.cpp @@ -283,6 +283,14 @@ class ClientSessionTest : public CppUnit::TestFixture { return tlsEncrypted; } + virtual Certificate::ref getPeerCertificate() const { + return Certificate::ref(); + } + + virtual boost::optional<CertificateVerificationError> getPeerCertificateVerificationError() const { + return boost::optional<CertificateVerificationError>(); + } + virtual void addZLibCompression() { compressed = true; } |