This commit is contained in:
michael
2024-12-24 12:14:53 +01:00
parent 53e818186a
commit 4d74d0c522
3 changed files with 15 additions and 6 deletions

View File

@@ -114,7 +114,15 @@ bool ClassFlowMQTT::ReadParameter(FILE* pfile, string& aktparamgraph)
}
if ((toUpper(_param) == "VALIDATESERVERCERT") && (splitted.size() > 1))
{
validateServerCert = alphanumericToBoolean(splitted[1]);
bool _validateServerCert = alphanumericToBoolean(splitted[1]);
if (_validateServerCert == true)
{
validateServerCert = false;
}
else
{
validateServerCert = true;
}
}
if ((toUpper(_param) == "CLIENTCERT") && (splitted.size() > 1))
{