Authenticode.js improvement.

Ylian Saint-Hilaire committed Jun 1, 2022 at 15:06 UTC 7dd125286d6c946683ace773c1bb4b85e3ef0524
1 file changed +2
authenticode.js
+2
@@ -224,6 +224,8 @@ function createAuthenticodeHandler(path) {
224 (pkcs7.rawCapture.authenticatedAttributes[i].value[0].value != null) &&
225 (pkcs7.rawCapture.authenticatedAttributes[i].value[1] != null) &&
226 (pkcs7.rawCapture.authenticatedAttributes[i].value[1].value != null) &&
227 + (pkcs7.rawCapture.authenticatedAttributes[i].value[1].value[0] != null) &&
228 + (pkcs7.rawCapture.authenticatedAttributes[i].value[1].value[0].value != null) &&
229 (forge.asn1.derToOid(pkcs7.rawCapture.authenticatedAttributes[i].value[0].value) == obj.Oids.SPC_SP_OPUS_INFO_OBJID)) {
230 for (var j in pkcs7.rawCapture.authenticatedAttributes[i].value[1].value[0].value) {
231 if (