Skip to content

Commit

Permalink
Update test/addons/openssl-test-engine/test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Darshan Sen <[email protected]>
  • Loading branch information
mhdawson and RaisinTen authored Feb 4, 2022
1 parent 8d76834 commit e546eda
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/addons/openssl-test-engine/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ const crypto = require('crypto');
const fs = require('fs');
const path = require('path');

const engine = path.join(__dirname,
`/build/${common.buildType}/testsetengine.engine`);

if (!fs.existsSync(engine))
common.skip('no engine');

assert.throws(() => crypto.setEngine(true), /ERR_INVALID_ARG_TYPE/);
assert.throws(() => crypto.setEngine('/path/to/engine', 'notANumber'),
Expand Down

0 comments on commit e546eda

Please sign in to comment.