mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 13:28:50 +03:00
Don't request client SSL certificate (closes issue #3883)
This commit is contained in:
parent
3ea81be2cc
commit
501a2d7c45
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue