From 80c00974e2d668720195607d3305dd23f7ffe34a Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Thu, 28 Jan 2016 17:55:02 +0000 Subject: [PATCH] Use https for version checker --- src/cli/VersionChecker.cpp | 2 +- test/cli/VersionCheckerTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/VersionChecker.cpp b/src/cli/VersionChecker.cpp index b77a030d..53507974 100644 --- a/src/cli/VersionChecker.cpp +++ b/src/cli/VersionChecker.cpp @@ -55,7 +55,7 @@ namespace cryfs { optional VersionChecker::_getVersionInfo(shared_ptr httpClient) { long timeoutMsec = 2000; - optional response = httpClient->get("http://www.cryfs.org/version_info.json", timeoutMsec); + optional response = httpClient->get("https://www.cryfs.org/version_info.json", timeoutMsec); if (response == none) { return none; } diff --git a/test/cli/VersionCheckerTest.cpp b/test/cli/VersionCheckerTest.cpp index 55cd961c..fad42836 100644 --- a/test/cli/VersionCheckerTest.cpp +++ b/test/cli/VersionCheckerTest.cpp @@ -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: