GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix test-tls-client-auth test for OpenSSL32 · nodejs/node@a4a6ef8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-tls-client-auth.js
Expand file treeCollapse file tree
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)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.