mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
REFAC(crypto): remove QSslSocket::addDefaultCaCertificates
The function in question has been deprecated in Qt 5.15. Instead it is recommended to set the CA certificates on the QSslConfiguration object. According to the docs of QSslConfiguration however the system's CA certificates is what is used by default anyways. Quote (from 5.15 docs of QSslConfiguration::systemCaCertificates): "This function provides the CA certificate database provided by the operating system. The CA certificate database returned by this function is used to initialize the database returned by caCertificates() on the default QSslConfiguration."
This commit is contained in:
parent
7c67ea33f4
commit
b691108d38
@ -108,8 +108,6 @@ out:
|
||||
}
|
||||
|
||||
void MumbleSSL::addSystemCA() {
|
||||
QSslSocket::addDefaultCaCertificates(QSslConfiguration::systemCaCertificates());
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
// Work around issue #1271.
|
||||
// Skype's click-to-call feature creates an enormous
|
||||
|
||||
Loading…
Reference in New Issue
Block a user