Mercurial > trustbridge
comparison ui/downloader.cpp @ 18:f4f957c58e0a
Move listuitol and add cert pinning with a test certificate
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 19 Feb 2014 15:41:14 +0000 |
parents | 95e1b6edf2fc |
children | 62cd56cea09b |
comparison
equal
deleted
inserted
replaced
17:c12825a651ed | 18:f4f957c58e0a |
---|---|
20 mUrl(url), | 20 mUrl(url), |
21 mLastModSW(newestSW), | 21 mLastModSW(newestSW), |
22 mLastModList(newestList) | 22 mLastModList(newestList) |
23 { | 23 { |
24 if (certificate.isEmpty()) { | 24 if (certificate.isEmpty()) { |
25 QFile certResource(":certificates/https"); | 25 QFile certResource(":certs/kolab.org"); |
26 certResource.open(QFile::ReadOnly); | 26 certResource.open(QFile::ReadOnly); |
27 mCert = certResource.readAll(); | 27 mCert = certResource.readAll(); |
28 certResource.close(); | 28 certResource.close(); |
29 } | 29 } |
30 } | 30 } |