projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Semi-yearly copyright bump
[quassel.git]
/
src
/
core
/
sslserver.h
diff --git
a/src/core/sslserver.h
b/src/core/sslserver.h
index
1f43cc4
..
16ab183
100644
(file)
--- a/
src/core/sslserver.h
+++ b/
src/core/sslserver.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
6
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-27,6
+27,7
@@
#include <QSslKey>
#include <QTcpServer>
#include <QLinkedList>
#include <QSslKey>
#include <QTcpServer>
#include <QLinkedList>
+#include <QFile>
class SslServer : public QTcpServer
{
class SslServer : public QTcpServer
{
@@
-71,6
+72,7
@@
private:
* @return True if certificates loaded successfully, otherwise false.
*/
bool loadCerts();
* @return True if certificates loaded successfully, otherwise false.
*/
bool loadCerts();
+ QSslKey loadKey(QFile *keyFile);
QLinkedList<QTcpSocket *> _pendingConnections;
QSslCertificate _cert;
QLinkedList<QTcpSocket *> _pendingConnections;
QSslCertificate _cert;