diff --git a/test/parallel/test-crypto-keygen-deprecation.js b/test/parallel/test-crypto-keygen-deprecation.js index 62266382e2da..4ab93c97cb50 100644 --- a/test/parallel/test-crypto-keygen-deprecation.js +++ b/test/parallel/test-crypto-keygen-deprecation.js @@ -4,6 +4,9 @@ const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); +if (process.features.openssl_is_boringssl) + common.skip('BoringSSL does not support RSA-PSS key pair generation'); + const DeprecationWarning = []; DeprecationWarning.push([ '"options.hash" is deprecated, use "options.hashAlgorithm" instead.', diff --git a/test/parallel/test-crypto-keygen-duplicate-deprecated-option.js b/test/parallel/test-crypto-keygen-duplicate-deprecated-option.js index 4f7ffcfce061..47b001ae4a0f 100644 --- a/test/parallel/test-crypto-keygen-duplicate-deprecated-option.js +++ b/test/parallel/test-crypto-keygen-duplicate-deprecated-option.js @@ -4,6 +4,9 @@ const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); +if (process.features.openssl_is_boringssl) + common.skip('BoringSSL does not support RSA-PSS key pair generation'); + const assert = require('assert'); const { hasFIPS } = require('../common/crypto'); const modulusLength = hasFIPS(3) ? 2048 : 512;