mirror of
https://github.com/overte-org/overte.git
synced 2025-07-10 14:18:46 +02:00
Merge pull request #5663 from birarda/master
don't request a cert from peer in HTTPSManager
This commit is contained in:
commit
dd5d58a5e1
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ void HTTPSManager::incomingConnection(qintptr socketDescriptor) {
|
||||||
|
|
||||||
sslSocket->setLocalCertificate(_certificate);
|
sslSocket->setLocalCertificate(_certificate);
|
||||||
sslSocket->setPrivateKey(_privateKey);
|
sslSocket->setPrivateKey(_privateKey);
|
||||||
|
sslSocket->setPeerVerifyMode(QSslSocket::VerifyNone);
|
||||||
|
|
||||||
if (sslSocket->setSocketDescriptor(socketDescriptor)) {
|
if (sslSocket->setSocketDescriptor(socketDescriptor)) {
|
||||||
new HTTPSConnection(sslSocket, this);
|
new HTTPSConnection(sslSocket, this);
|
||||||
|
|
Loading…
Reference in a new issue