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;
} }