diff options
author | Alex Aubuchon <alex@aub.dev> | 2019-05-28 14:28:59 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-10 09:56:38 -0700 |
commit | 668938bc94db6b258fd236aee25aedc0730072b0 (patch) | |
tree | 979f4acb19056afedab480bf8d2eb9c54853b1a4 /test/parallel/test-crypto-rsa-dsa.js | |
parent | a596f8371e4470ff5ef4734bbe47f957698e504a (diff) | |
download | node-new-668938bc94db6b258fd236aee25aedc0730072b0.tar.gz |
test: move dsa keypairs to fixtures/keys/
PR-URL: https://github.com/nodejs/node/pull/27962
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-crypto-rsa-dsa.js')
-rw-r--r-- | test/parallel/test-crypto-rsa-dsa.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parallel/test-crypto-rsa-dsa.js b/test/parallel/test-crypto-rsa-dsa.js index 27aef68853..1e657b9e60 100644 --- a/test/parallel/test-crypto-rsa-dsa.js +++ b/test/parallel/test-crypto-rsa-dsa.js @@ -18,12 +18,12 @@ const rsaPubPem = fixtures.readKey('rsa_public.pem', 'ascii'); const rsaKeyPem = fixtures.readKey('rsa_private.pem', 'ascii'); const rsaKeyPemEncrypted = fixtures.readKey('rsa_private_encrypted.pem', 'ascii'); -const dsaPubPem = fixtures.readSync('test_dsa_pubkey.pem', 'ascii'); -const dsaKeyPem = fixtures.readSync('test_dsa_privkey.pem', 'ascii'); -const dsaKeyPemEncrypted = fixtures.readSync('test_dsa_privkey_encrypted.pem', - 'ascii'); +const dsaPubPem = fixtures.readKey('dsa_public.pem', 'ascii'); +const dsaKeyPem = fixtures.readKey('dsa_private.pem', 'ascii'); +const dsaKeyPemEncrypted = fixtures.readKey('dsa_private_encrypted.pem', + 'ascii'); const rsaPkcs8KeyPem = fixtures.readKey('rsa_private_pkcs8.pem'); -const dsaPkcs8KeyPem = fixtures.readSync('test_dsa_pkcs8_privkey.pem'); +const dsaPkcs8KeyPem = fixtures.readKey('dsa_private_pkcs8.pem'); const decryptError = { message: 'error:06065064:digital envelope routines:EVP_DecryptFinal_ex:' + |