diff --git a/test/unit/forge-test.js b/test/unit/forge-test.js index 664e0a6..fc9573d 100644 --- a/test/unit/forge-test.js +++ b/test/unit/forge-test.js @@ -7,18 +7,14 @@ var rsa_test = { asyncTest("Generate RSA Keypair", 1, function() { - forge.pki.rsa.generateKeyPair({ + forge.rsa.generateKeyPair({ bits: rsa_test.keySize, workerScript: app.config.workerPath + '/../lib/forge/prime.worker.js' }, function(err, keypair) { ok(!err && keypair); - console.log(keypair); rsa_test.keypair = keypair; - var pkPem = forge.pki.publicKeyToPem(keypair.publicKey); - var pk = forge.pki.publicKeyFromPem(pkPem); - start(); });