This commit is contained in:
michael
2024-12-24 13:14:19 +01:00
parent 4d74d0c522
commit 4846a52d45
3 changed files with 4 additions and 11 deletions

View File

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