summaryrefslogtreecommitdiff
path: root/ext/crypto/00_crypto.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto/00_crypto.js')
-rw-r--r--ext/crypto/00_crypto.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js
index 857283623..fac407d88 100644
--- a/ext/crypto/00_crypto.js
+++ b/ext/crypto/00_crypto.js
@@ -2880,10 +2880,10 @@
// 7.
if (
- keyUsages.length > 0 && jwk.use !== undefined && jwk.use !== "sign"
+ keyUsages.length > 0 && jwk.use !== undefined && jwk.use !== "sig"
) {
throw new DOMException(
- "'use' property of JsonWebKey must be 'sign'",
+ "'use' property of JsonWebKey must be 'sig'",
"DataError",
);
}