Browse Source

add comment

undefined
AJ ONeal 1 year ago
parent
commit
1c1b9d00a9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/pem-packer.js

+ 1
- 0
lib/pem-packer.js 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'


Loading…
Cancel
Save