CONF_NO_TLS option

This commit is contained in:
fireice-uk
2017-03-14 20:31:23 +00:00
parent e4f5318768
commit 15bba85ef9
4 changed files with 21 additions and 0 deletions
+9
View File
@@ -423,6 +423,15 @@ bool jconf::parse_config(const char* sFilename)
return false;
}
#ifdef CONF_NO_TLS
if(prv->configValues[bTlsMode]->GetBool())
{
printer::inst()->print_msg(L0,
"Invalid config file. TLS enabled while the application has been compiled without TLS support.");
return false;
}
#endif // CONF_NO_TLS
#ifdef _WIN32
if(GetSlowMemSetting() == no_mlck)
{