summaryrefslogtreecommitdiff
path: root/distfoldd/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'distfoldd/server.cc')
-rw-r--r--distfoldd/server.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/distfoldd/server.cc b/distfoldd/server.cc
index 4c7c222..a0ab98f 100644
--- a/distfoldd/server.cc
+++ b/distfoldd/server.cc
@@ -43,6 +43,7 @@ void Server::incomingConnection(int socketDescriptor)
if (socket->setSocketDescriptor(socketDescriptor)) {
socket->setLocalCertificate(_cert);
socket->setPrivateKey(_key);
+ socket->setPeerVerifyMode(QSslSocket::QueryPeer);
socket->startServerEncryption();
addPendingConnection(socket);
} else {