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: remove unused ecdhPeerKey · nodejs/node@e285a7a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-webcrypto-wrap-unwrap.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-webcrypto-wrap-unwrap.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-webcrypto-wrap-unwrap.js
+2-6Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async function testWrap(wrappingKey, unwrappingKey, key, wrap, format) {
243243
assert.deepStrictEqual(exported, exportedAgain);
244244
}
245245

246-
async function testWrapping(name, keys, ecdhPeerKey) {
246+
async function testWrapping(name, keys) {
247247
const variations = [];
248248

249249
const {
@@ -264,13 +264,9 @@ async function testWrapping(name, keys, ecdhPeerKey) {
264264
(async function() {
265265
await generateWrappingKeys();
266266
const keys = await generateKeysToWrap();
267-
const ecdhPeerKey = await subtle.generateKey({
268-
name: 'ECDH',
269-
namedCurve: 'P-384'
270-
}, true, ['deriveBits']);
271267
const variations = [];
272268
Object.keys(kWrappingData).forEach((name) => {
273-
return testWrapping(name, keys, ecdhPeerKey);
269+
return testWrapping(name, keys);
274270
});
275271
await Promise.all(variations);
276272
})().then(common.mustCall());

0 commit comments

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