add comment

This commit is contained in:
AJ ONeal 2018-12-17 21:29:45 -07:00
parent 665a2d2f8e
commit 1c1b9d00a9
1 changed files with 1 additions and 0 deletions

View File

@ -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'