projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SslServer: Add support for Elliptic Curve keys
[quassel.git]
/
src
/
core
/
sslserver.h
diff --git
a/src/core/sslserver.h
b/src/core/sslserver.h
index
b0f92b5
..
cf04c53
100644
(file)
--- a/
src/core/sslserver.h
+++ b/
src/core/sslserver.h
@@
-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;