mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 07:43:50 +00:00
Added support for --nocertstore as a msh flag
This commit is contained in:
@@ -4562,6 +4562,11 @@ int MeshAgent_AgentMode(MeshAgentHostContainer *agentHost, int paramLen, char **
|
||||
}
|
||||
}
|
||||
paramLen -= ixr;
|
||||
|
||||
#ifdef WIN32
|
||||
if (agentHost->noCertStore == 0) { agentHost->noCertStore = ILibSimpleDataStore_Get(agentHost->masterDb, "nocertstore", NULL, 0); }
|
||||
#endif
|
||||
|
||||
if (fetchstate != 0)
|
||||
{
|
||||
duk_context *ctxx = ILibDuktape_ScriptContainer_InitializeJavaScriptEngineEx(0, 0, agentHost->chain, NULL, NULL, agentHost->exePath, NULL, MeshAgent_AgentInstallerCTX_Finalizer, agentHost->chain);
|
||||
|
||||
Reference in New Issue
Block a user