Skip to content

Commit

Permalink
test: skip tests for openssl-3.0.0-alpha-15
Browse files Browse the repository at this point in the history
This commit skips some test when OpenSSL 3.0.0-alpha-15 is used as there
is an issue that causes them to fail.

This is only a temp solution until there is new OpenSSL release.

Fixes: nodejs#38373
  • Loading branch information
danbev committed Apr 28, 2021
1 parent 1c9a5e6 commit 865f5df
Show file tree
Hide file tree
Showing 19 changed files with 57 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-async-sign-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const util = require('util');
const crypto = require('crypto');
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-dh-stateless.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const crypto = require('crypto');

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-key-objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const {
createCipheriv,
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-keygen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const {
constants,
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-rsa-dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const crypto = require('crypto');

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-crypto-sign-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const fs = require('fs');
const path = require('path');
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-derivebits-ecdh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle, getRandomValues } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-derivebits-node-dh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-derivekey-ecdh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle, getRandomValues } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-encrypt-decrypt-rsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import-dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import-ec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import-rsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-export-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle, getRandomValues } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-rsa-pss-params.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const {
createPrivateKey,
createPublicKey,
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-sign-verify-ecdsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-sign-verify-node-dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-sign-verify-rsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-webcrypto-wrap-unwrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

if (common.hasOpenSSL3)
common.skip('temporarily skipping for OpenSSL 3.0-alpha15');

const assert = require('assert');
const { subtle } = require('crypto').webcrypto;

Expand Down

0 comments on commit 865f5df

Please sign in to comment.