From 513d318d820b62f76b89b06321283b3f65e73f90 Mon Sep 17 00:00:00 2001 From: Mitar Date: Fri, 29 Jan 2016 00:50:00 -0800 Subject: [PATCH] Fixed RSA key size setting. --- src/node/algorithms/shared/RSA.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/algorithms/shared/RSA.js b/src/node/algorithms/shared/RSA.js index bd444f4..0be7771 100644 --- a/src/node/algorithms/shared/RSA.js +++ b/src/node/algorithms/shared/RSA.js @@ -35,7 +35,7 @@ function generate(algorithm){ pos++; } - return forge.rsa.generateKeyPair({bits: algorithm.modulousLength , e: exp}); + return forge.rsa.generateKeyPair({bits: algorithm.modulusLength , e: exp}); }