/***************************************************************************
- * Copyright (C) 2005-2016 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include <QSslKey>
#include <QTcpServer>
#include <QLinkedList>
+#include <QFile>
class SslServer : public QTcpServer
{
* @return True if certificates loaded successfully, otherwise false.
*/
bool loadCerts();
+ QSslKey loadKey(QFile *keyFile);
QLinkedList<QTcpSocket *> _pendingConnections;
QSslCertificate _cert;