Merge pull request #5663 from birarda/master

don't request a cert from peer in HTTPSManager
This commit is contained in:
Leonardo Murillo 2015-08-27 12:46:24 -07:00
commit dd5d58a5e1

View file

@ -30,6 +30,7 @@ void HTTPSManager::incomingConnection(qintptr socketDescriptor) {
sslSocket->setLocalCertificate(_certificate);
sslSocket->setPrivateKey(_privateKey);
sslSocket->setPeerVerifyMode(QSslSocket::VerifyNone);
if (sslSocket->setSocketDescriptor(socketDescriptor)) {
new HTTPSConnection(sslSocket, this);