diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-29 00:48:33 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-29 00:49:54 +0200 |
commit | 22c0d5cf46643d509f8c3ee2b17c54774b8099a6 (patch) | |
tree | 18bdef6a9f53dafaa281ac0e943636989c9b3061 /application/MultiMC.cpp | |
parent | 12b14c3400e11bb712efe760ed7a2cf46d2f75c7 (diff) | |
download | MultiMC-22c0d5cf46643d509f8c3ee2b17c54774b8099a6.tar MultiMC-22c0d5cf46643d509f8c3ee2b17c54774b8099a6.tar.gz MultiMC-22c0d5cf46643d509f8c3ee2b17c54774b8099a6.tar.lz MultiMC-22c0d5cf46643d509f8c3ee2b17c54774b8099a6.tar.xz MultiMC-22c0d5cf46643d509f8c3ee2b17c54774b8099a6.zip |
GH-1202 rebuild SSL certs on start on OSX
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r-- | application/MultiMC.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index a893c875..86356cd1 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -283,10 +283,15 @@ MultiMC::~MultiMC() } } +#ifdef Q_OS_MAC +#include "CertWorkaround.h" +#endif + void MultiMC::initSSL() { #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); |