diff options
author | Alex Aubuchon <alex@aub.dev> | 2019-05-28 14:28:59 -0700 |
---|---|---|
committer | Ali Ijaz Sheikh <ofrobots@google.com> | 2019-06-05 11:37:35 -0700 |
commit | f5e6ac2bd9cfd55d156fdcaee4f73b2822f46a53 (patch) | |
tree | e59420e3464089964c689bf35a03c2a9bb84f71a /test/parallel/test-crypto-rsa-dsa.js | |
parent | 56d338305d24c29a8898486bd30752665cedb913 (diff) | |
download | node-new-f5e6ac2bd9cfd55d156fdcaee4f73b2822f46a53.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:' + |