update builder function
This commit is contained in:
parent
b6769f3734
commit
73aac4bff4
1 changed files with 2 additions and 2 deletions
|
@ -182,9 +182,9 @@ ASN1.tpl = function (asn1) {
|
||||||
if (0x02 !== asn1.type && 0x03 !== asn1.type) {
|
if (0x02 !== asn1.type && 0x03 !== asn1.type) {
|
||||||
str += ", ";
|
str += ", ";
|
||||||
}
|
}
|
||||||
str += "opts.tpl" + i;
|
str += "Enc.bufToHex(opts.tpl" + i + ")";
|
||||||
} else {
|
} else {
|
||||||
str += ", " + Enc.bufToHex(asn1.value);
|
str += ", '" + Enc.bufToHex(asn1.value) + "'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
str += ")";
|
str += ")";
|
||||||
|
|
Loading…
Reference in a new issue