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 <raisinten@gmail.com>
  • Loading branch information
mhdawson and RaisinTen committed Feb 4, 2022
1 parent e546eda commit cf20473
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/addons/openssl-test-engine/test.js
Expand Up @@ -31,6 +31,12 @@ crypto.setEngine('dynamic');
crypto.setEngine('dynamic', crypto.constants.ENGINE_METHOD_RSA);
crypto.setEngine('dynamic', crypto.constants.ENGINE_METHOD_RSA);

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

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

{
const engineId = path.parse(engine).name;
const execDir = path.parse(engine).dir;
Expand Down

0 comments on commit cf20473

Please sign in to comment.