diff --git a/include/restclient.h b/include/restclient.h index 1e9b624..70b132a 100644 --- a/include/restclient.h +++ b/include/restclient.h @@ -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 };