Use https for version checker

This commit is contained in:
Sebastian Messmer 2016-01-28 17:55:02 +00:00
parent 6ba93e7bfa
commit 80c00974e2
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ namespace cryfs {
optional<ptree> VersionChecker::_getVersionInfo(shared_ptr<HttpClient> httpClient) {
long timeoutMsec = 2000;
optional<string> response = httpClient->get("http://www.cryfs.org/version_info.json", timeoutMsec);
optional<string> response = httpClient->get("https://www.cryfs.org/version_info.json", timeoutMsec);
if (response == none) {
return none;
}

View File

@ -19,7 +19,7 @@ public:
}
void setVersionInfo(const string &versionInfo) {
http->addWebsite("http://www.cryfs.org/version_info.json", versionInfo);
http->addWebsite("https://www.cryfs.org/version_info.json", versionInfo);
}
private: