Fix `keypairs` module reference in `lib/rsa.js`

Commit 2e7134dd8a introduced breakage
and was subsequently released as v2.0.4. The breakage crashes the
application using the module as it tries to `require` a module named
`Keypairs` even though it should not be capitalized.
This commit is contained in:
Valters Jansons 2019-03-15 05:16:55 +02:00
parent fd6a46e88a
commit 9614a1e9ca
No known key found for this signature in database
GPG Key ID: 4F021EB3A83CE748
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ try {
/* ignore */
}
var Keypairs = require('Keypairs');
var Keypairs = require('keypairs');
var RSACSR = require('./rsa-csr');
var NOBJ = {};
var DEFAULT_BITLEN = 2048;