Fixed typo.

This commit is contained in:
Ylian Saint-Hilaire 2022-05-29 11:19:46 -07:00
parent 25c805d7ea
commit 6a5ceff0ad
2 changed files with 2 additions and 2 deletions

View File

@ -450,4 +450,4 @@ if (require.main === module) { start(); }
// Exports
module.exports.createAuthenticodeHandler = createAuthenticodeHandler;
module.exports.loadCertificates = loadCertificates;
module.exports.loadCertificates = loadCertificates;

View File

@ -2896,7 +2896,7 @@ function CreateMeshCentralServer(config, args) {
if ((stats == null)) continue; // If this agent does not exist, skip it.
// Check if we need to sign this agent, if so, check if it's already been signed
if ((obj.meshAgentsArchitectureNumbers[archid].codesign === true) && (agentSignCertInfo != null)) {{
if ((obj.meshAgentsArchitectureNumbers[archid].codesign === true) && (agentSignCertInfo != null)) {
// Open the original agent with authenticode
var signeedagentpath = obj.path.join(serverSignedAgentsPath, obj.meshAgentsArchitectureNumbers[archid].localname);
const originalAgent = require('./authenticode.js').createAuthenticodeHandler(agentpath);