···22// which is made by Peter Gutmann and whose license states:
33// You can use this code in whatever way you want,
44// as long as you don't try to claim you wrote it.
55-oids = {
55+var oids = {
66"0.2.262.1.10": { "d": "Telesec", "c": "Deutsche Telekom", "w": false },
77"0.2.262.1.10.0": { "d": "extension", "c": "Telesec", "w": false },
88"0.2.262.1.10.1": { "d": "mechanism", "c": "Telesec", "w": false },
···22412241"2.16.840.1.114171.500.9": { "d": "Wells Fargo EV policy", "c": "Wells Fargo WellsSecure Public Root Certificate Authority", "w": false },
22422242"END": ""
22432243};
22442244+if (typeof module !== undefined) { module.exports = oids; }
+2-1
update.sh
···2525 print "// which is made by Peter Gutmann and whose license states:";
2626 print "// You can use this code in whatever way you want,";
2727 print "// as long as you don" apos "t try to claim you wrote it.";
2828- print "oids = {";
2828+ print "var oids = {";
2929 }
3030 /^OID/ { oid = $2; }
3131 /^Comment/ { comment = $2; }
···4646 END {
4747 print "\"END\": \"\""
4848 print "};"
4949+ print "if (typeof module !== 'undefined') { module.exports = oids; }"
4950 }
5051' >oids.js
5152echo Conversion completed.