Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: update OpenSSL 3.x expected error message
This commit updates an expected error message which has changed in
OpenSSl 3.x. OpenSSL 3.0 is still under development but once there is a
relase we should not be seeing test failure like this.

PR-URL: #38164
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
danbev authored and aduh95 committed Apr 9, 2021
commit 7216eb67dfc93d88570cf3c02b4321211593f13a
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-dh.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ if (common.hasOpenSSL3) {
assert.throws(() => {
dh3.computeSecret('');
}, { message: common.hasOpenSSL3 ?
'error:02800066:Diffie-Hellman routines::invalid public key' :
'error:02800080:Diffie-Hellman routines::invalid secret' :
'Supplied key is too small' });

// Create a shared using a DH group.
Expand Down