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 error messages for OpenSSL-1.1.0i · nodejs/node@01fe2ce

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-crypto-scrypt.js
    • test-tls-passphrase.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-crypto-scrypt.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-scrypt.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ const good = [
9595
const bad = [
9696
{ N: 1, p: 1, r: 1 }, // N < 2
9797
{ N: 3, p: 1, r: 1 }, // Not power of 2.
98-
{ N: 2 ** 16, p: 1, r: 1 }, // N >= 2**(r*16)
99-
{ N: 2, p: 2 ** 30, r: 1 }, // p > (2**30-1)/r
10098
{ N: 1, cost: 1 }, // both N and cost
10199
{ p: 1, parallelization: 1 }, // both p and parallelization
102100
{ r: 1, blockSize: 1 } // both r and blocksize
103101
];
104102

105103
// Test vectors where 128*N*r exceeds maxmem.
106104
const toobig = [
105+
{ N: 2 ** 16, p: 1, r: 1 }, // N >= 2**(r*16)
106+
{ N: 2, p: 2 ** 30, r: 1 }, // p > (2**30-1)/r
107107
{ N: 2 ** 20, p: 1, r: 8 },
108108
{ N: 2 ** 10, p: 1, r: 8, maxmem: 2 ** 20 },
109109
];
Collapse file

‎test/parallel/test-tls-passphrase.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-passphrase.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ server.listen(0, common.mustCall(function() {
221221
}, common.mustCall());
222222
})).unref();
223223

224-
const errMessagePassword = /bad password read/;
224+
const errMessagePassword = /bad decrypt/;
225225

226226
// Missing passphrase
227227
assert.throws(function() {

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.