From cbb9ab136a5a2b81e535ce33f0eed145912e497e Mon Sep 17 00:00:00 2001 From: Peter Bielak Date: Thu, 12 Dec 2019 15:12:01 +0100 Subject: [PATCH] updated unit test --- test/rsa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rsa.js b/test/rsa.js index 1c0f2ec..adae58f 100644 --- a/test/rsa.js +++ b/test/rsa.js @@ -98,7 +98,7 @@ describe('RSA', function () { describe('get key fingerprint', function () { it('should return key fingerprint', function (done) { - crypto.cryptoKeyToFingerprint(_rsaKeyPair.publicKey, 'SHA-512').then(function (keyFingerprint) { + crypto.getFingerprint(_rsaKeyPair.publicKey).then(function (keyFingerprint) { done() }) })