aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/curl.cpp4
-rw-r--r--tests/src/confTest/confTest.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/curl.cpp b/src/curl.cpp
index a3c5e28..d14a036 100644
--- a/src/curl.cpp
+++ b/src/curl.cpp
@@ -66,7 +66,7 @@ namespace sibs
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, writeToFile);
curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, true);
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "SIBS");
- curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE);
+ curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, false);
#if OS_FAMILY == OS_FAMILY_POSIX
FILE *file = fopen(filepath, "wb");
#else
@@ -142,7 +142,7 @@ namespace sibs
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, writeToString);
curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, true);
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "SIBS");
- curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE);
+ curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, false);
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, &result.str);
printf("Downloading from url: %s\n", url);
diff --git a/tests/src/confTest/confTest.cpp b/tests/src/confTest/confTest.cpp
index 38b4971..eaf5c0b 100644
--- a/tests/src/confTest/confTest.cpp
+++ b/tests/src/confTest/confTest.cpp
@@ -5,7 +5,7 @@ using namespace sibs;
TEST_CASE("parse config")
{
- SibsConfig sibsConfig("tests/src/confTest");
+ SibsConfig sibsConfig(Compiler::GCC, "tests/src/confTest");
Result<bool> result = Config::readFromFile("tests/src/confTest/project.conf", sibsConfig);
if(result.isErr())
{