test: make crypto tests work with BoringSSL · nodejs/node@89fdfde · GitHub
Skip to content

Commit 89fdfde

Browse files
codebyteretargos
authored andcommitted
test: make crypto tests work with BoringSSL
PR-URL: #58117 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 9fccb06 commit 89fdfde

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

test/parallel/test-crypto-stream.js

Lines changed: 4 additions & 4 deletions

test/parallel/test-crypto.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ assert.throws(() => {
218218
} : {
219219
name: 'Error',
220220
message: /routines:RSA_sign:digest too big for rsa key$/,
221-
library: 'rsa routines',
221+
library: /rsa routines/i,
222222
function: 'RSA_sign',
223-
reason: 'digest too big for rsa key',
223+
reason: /digest[\s_]too[\s_]big[\s_]for[\s_]rsa[\s_]key/i,
224224
code: 'ERR_OSSL_RSA_DIGEST_TOO_BIG_FOR_RSA_KEY'
225225
});
226226
return true;

test/parallel/test-tls-alert-handling.js

Lines changed: 6 additions & 6 deletions

0 commit comments

Comments
 (0)