summaryrefslogtreecommitdiffstats
path: root/jconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jconf.cpp')
-rw-r--r--jconf.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/jconf.cpp b/jconf.cpp
index 2b0a349..612065e 100644
--- a/jconf.cpp
+++ b/jconf.cpp
@@ -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)
{
OpenPOWER on IntegriCloud