Skip to content

Commit 88e9834

Browse files
committed
test: skip RSA-PSS keygen deprecation tests with BoringSSL
test-crypto-keygen-deprecation and test-crypto-keygen-duplicate-deprecated-option generate rsa-pss key pairs, which BoringSSL does not support. The other rsa-pss keygen tests skip there since #62883, but these two only exist on v24.x (#58706 removed them from main earlier), so its backport could not cover them. Refs: #62883 Signed-off-by: Shelley Vohr <shelley.vohr@gmail.com>
1 parent 7c47614 commit 88e9834

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎test/parallel/test-crypto-keygen-deprecation.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const common = require('../common');
44
if (!common.hasCrypto)
55
common.skip('missing crypto');
66

7+
if (process.features.openssl_is_boringssl)
8+
common.skip('BoringSSL does not support RSA-PSS key pair generation');
9+
710
const DeprecationWarning = [];
811
DeprecationWarning.push([
912
'"options.hash" is deprecated, use "options.hashAlgorithm" instead.',

‎test/parallel/test-crypto-keygen-duplicate-deprecated-option.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const common = require('../common');
44
if (!common.hasCrypto)
55
common.skip('missing crypto');
66

7+
if (process.features.openssl_is_boringssl)
8+
common.skip('BoringSSL does not support RSA-PSS key pair generation');
9+
710
const assert = require('assert');
811
const {
912
generateKeyPair,

0 commit comments

Comments
 (0)