update builder function

This commit is contained in:
AJ ONeal 2018-11-22 23:14:45 -07:00
parent b6769f3734
commit 73aac4bff4
1 changed files with 2 additions and 2 deletions

View File

@ -182,9 +182,9 @@ ASN1.tpl = function (asn1) {
if (0x02 !== asn1.type && 0x03 !== asn1.type) {
str += ", ";
}
str += "opts.tpl" + i;
str += "Enc.bufToHex(opts.tpl" + i + ")";
} else {
str += ", " + Enc.bufToHex(asn1.value);
str += ", '" + Enc.bufToHex(asn1.value) + "'";
}
}
str += ")";