diff --git a/include/Swiften/Server/Server.cpp b/include/Swiften/Server/Server.cpp index 312545b43df0551c8ba99b9153a37a1fd5ddb9de..3cc634284cb4e8a056895b7115d4e70b7f509a1e 100644 --- a/include/Swiften/Server/Server.cpp +++ b/include/Swiften/Server/Server.cpp @@ -149,7 +149,7 @@ void Server::handleSessionFinished(boost::shared_ptr se boost::bind(&Server::handleSessionFinished, this, session)); } -void Server::addTLSEncryption(TLSServerContextFactory* tlsContextFactory, const PKCS12Certificate& cert) { +void Server::addTLSEncryption(TLSServerContextFactory* tlsContextFactory, CertificateWithKey::ref cert) { tlsFactory = tlsContextFactory; this->cert = cert; }