add comment
This commit is contained in:
parent
665a2d2f8e
commit
1c1b9d00a9
@ -4,6 +4,7 @@ var PEM = module.exports;
|
||||
var Enc = require('./encoding.js');
|
||||
|
||||
PEM.packBlock = function (opts) {
|
||||
// TODO allow for headers?
|
||||
var n = opts.lineLength || 64;
|
||||
var re = new RegExp('.{1,' + n + '}', 'g');
|
||||
return '-----BEGIN ' + opts.type + '-----\n'
|
||||
|
Loading…
x
Reference in New Issue
Block a user