NOISSUE remove macOS SSL workarounds

Should not be necessary anymore...
This commit is contained in:
Petr Mrázek
2017-04-25 23:03:11 +02:00
parent 4fa3e2a714
commit 6fe9258161
7 changed files with 1 additions and 172 deletions

View File

@ -501,10 +501,6 @@ void MultiMC::messageReceived(const QString& message)
}
}
#ifdef Q_OS_MAC
#include "CertWorkaround.h"
#endif
void MultiMC::initNetwork()
{
// init the http meta cache
@ -519,15 +515,6 @@ void MultiMC::initNetwork()
QString pass = settings()->get("ProxyPass").toString();
ENV.updateProxySettings(proxyTypeStr, addr, port, user, pass);
}
#ifdef Q_OS_MAC
Q_INIT_RESOURCE(certs);
RebuildQtCertificates();
QFile equifaxFile(":/certs/Equifax_Secure_Certificate_Authority.pem");
equifaxFile.open(QIODevice::ReadOnly);
QSslCertificate equifaxCert(equifaxFile.readAll(), QSsl::Pem);
QSslSocket::addDefaultCaCertificate(equifaxCert);
#endif
}
void MultiMC::initTranslations()