Use https for version checker
This commit is contained in:
parent
6ba93e7bfa
commit
80c00974e2
@ -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;
|
||||
}
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user