Index: LayoutTests/crypto/rsa-oaep-key-manipulation.html |
diff --git a/LayoutTests/crypto/rsa-oaep-key-manipulation.html b/LayoutTests/crypto/rsa-oaep-key-manipulation.html |
index dc616182dff133d2406616f1131eac074879edf8..8d7631ec907ad107b4f5fb9504ba0948159032a2 100644 |
--- a/LayoutTests/crypto/rsa-oaep-key-manipulation.html |
+++ b/LayoutTests/crypto/rsa-oaep-key-manipulation.html |
@@ -71,7 +71,7 @@ crypto.subtle.generateKey(algorithmKeyGen, extractable, ["encrypt", "decrypt", " |
shouldBe("bytesToHexString(Base64URL.parse(jwkPublicKey.e))", "'010001'"); |
debug("\nImporting it back..."); |
- return crypto.subtle.importKey("jwk", jwkPublicKeyArray, { name: "RSA-OAEP", hash: {name: "sha-1"} }, extractable, ["encrypt", "wrapKey"]); |
+ return crypto.subtle.importKey("jwk", jwkPublicKey, { name: "RSA-OAEP", hash: {name: "sha-1"} }, extractable, ["encrypt", "wrapKey"]); |
}).then(function(result) { |
exportedPublicKey = result; |
shouldBe("exportedPublicKey.type", "'public'"); |