Skip to content

Commit

Permalink
test: update OpenSSL 3.x expected error message
Browse files Browse the repository at this point in the history
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
1 parent c748668 commit 7216eb6
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 7216eb6

Please sign in to comment.