1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #5760 from borouhin/patch-1

Don't request client SSL certificate (closes issue #3883)
This commit is contained in:
sledgehammer999 2016-11-02 23:34:00 +02:00 committed by GitHub
commit b358809328

View File

@ -91,6 +91,7 @@ void Server::incomingConnection(int socketDescriptor)
#else #else
static_cast<QSslSocket*>(serverSocket)->setLocalCertificate(m_certificates.first()); static_cast<QSslSocket*>(serverSocket)->setLocalCertificate(m_certificates.first());
#endif #endif
static_cast<QSslSocket*>(serverSocket)->setPeerVerifyMode(QSslSocket::VerifyNone);
static_cast<QSslSocket*>(serverSocket)->startServerEncryption(); static_cast<QSslSocket*>(serverSocket)->startServerEncryption();
} }
#endif #endif