Skip to content

Commit

Permalink
fixup! crypto: remove non-standard `webcrypto.Crypto.prototype.Crypto…
Browse files Browse the repository at this point in the history
…Key`
  • Loading branch information
aduh95 committed Jun 4, 2022
1 parent 8aea94d commit 76b0427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-subtle-zero-length.js
Expand Up @@ -15,7 +15,7 @@ const crypto = require('crypto').webcrypto;
{ name: 'AES-GCM' },
false,
[ 'encrypt', 'decrypt' ]);
assert(k instanceof crypto.CryptoKey);
assert(k instanceof CryptoKey);

const e = await crypto.subtle.encrypt({
name: 'AES-GCM',
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-webcrypto-keygen.js
Expand Up @@ -8,7 +8,7 @@ if (!common.hasCrypto)
const assert = require('assert');
const { types: { isCryptoKey } } = require('util');
const {
webcrypto: { subtle, CryptoKey },
webcrypto: { subtle },
createSecretKey,
} = require('crypto');

Expand Down

0 comments on commit 76b0427

Please sign in to comment.