Skip to content

Commit d198e20

Browse files
committed
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.
1 parent 7df0fc5 commit d198e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-crypto-dh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ if (common.hasOpenSSL3) {
188188
assert.throws(() => {
189189
dh3.computeSecret('');
190190
}, { message: common.hasOpenSSL3 ?
191-
'error:02800066:Diffie-Hellman routines::invalid public key' :
191+
'error:02800080:Diffie-Hellman routines::invalid secret' :
192192
'Supplied key is too small' });
193193

194194
// Create a shared using a DH group.

0 commit comments

Comments
 (0)