1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Merge pull request #5354 from KDima23/fix-skip-amt-algorithm

fix skip-amt-algorithm
This commit is contained in:
Simon Smith 2023-09-18 09:39:23 +01:00 committed by GitHub
commit 04a71800fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,7 +262,7 @@ module.exports.CertificateOperations = function (parent) {
acmconfig.cn = certCommonName.value; acmconfig.cn = certCommonName.value;
} }
} }
if(r.certs[0].md.algorithm){ if(r.certs[0].md){
acmconfig.hashAlgorithm = r.certs[0].md.algorithm; acmconfig.hashAlgorithm = r.certs[0].md.algorithm;
} }