Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a4a6ef8

Browse filesBrowse files
mhdawsonRafaelGSS
authored andcommitted
test: fix test-tls-client-auth test for OpenSSL32
Refs: #53382 Refs: #53384 Same change as in 53384 where OpenSSL32 returns a slightly different error but for a different test. Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: #54610 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 76345a5 commit a4a6ef8
Copy full SHA for a4a6ef8

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-tls-client-auth.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-client-auth.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ connect({
7979
}, function(err, pair, cleanup) {
8080
assert.strictEqual(pair.server.err.code,
8181
'ERR_SSL_PEER_DID_NOT_RETURN_A_CERTIFICATE');
82+
const expectedErr = common.hasOpenSSL(3, 2) ?
83+
'ERR_SSL_SSL/TLS_ALERT_HANDSHAKE_FAILURE' : 'ERR_SSL_SSLV3_ALERT_HANDSHAKE_FAILURE';
8284
assert.strictEqual(pair.client.err.code,
83-
'ERR_SSL_SSLV3_ALERT_HANDSHAKE_FAILURE');
85+
expectedErr);
8486
return cleanup();
8587
});
8688

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.