| Index: LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes.html
|
| diff --git a/LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes.html b/LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes.html
|
| index c52e2d50606f6a3e0cf21c928272ad6dec23b245..d5fa48a837bda3f6814f3ffb066ac4fcb21d72b1 100644
|
| --- a/LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes.html
|
| +++ b/LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes.html
|
| @@ -39,9 +39,9 @@ var nonExtractable = false;
|
| var importAlgorithm = {name: "rsa-oaep", hash: {name:"sha-1"}};
|
|
|
| debug("Importing RSA keys...");
|
| -crypto.subtle.importKey("jwk", asciiToUint8Array(JSON.stringify(publicKeyJSON)), importAlgorithm, extractable, ["wrapKey"]).then(function(result) {
|
| +crypto.subtle.importKey("jwk", publicKeyJSON, importAlgorithm, extractable, ["wrapKey"]).then(function(result) {
|
| publicKey = result;
|
| - return crypto.subtle.importKey("jwk", asciiToUint8Array(JSON.stringify(privateKeyJSON)), importAlgorithm, extractable, ["unwrapKey"]);
|
| + return crypto.subtle.importKey("jwk", privateKeyJSON, importAlgorithm, extractable, ["unwrapKey"]);
|
| }).then(function(result) {
|
| privateKey = result;
|
|
|
|
|