disbale certchecks on windows (for now)

This commit is contained in:
mrbesen 2022-08-28 11:32:54 +02:00
parent 226c031ecf
commit a6f391cc4b
1 changed files with 5 additions and 1 deletions

View File

@ -35,5 +35,9 @@ protected:
CURL* curl = nullptr; // the curl (does curling)
std::string basicauth; // basic auth code (user:pw) or empty string to disable
bool disableCertCheck = false;
#ifdef WIN32
bool disableCertCheck = true;
#else
bool disableCertCheck = false;
#endif
};