Index: LayoutTests/crypto/resources/subtle-crypto-concurrent.js |
diff --git a/LayoutTests/crypto/resources/subtle-crypto-concurrent.js b/LayoutTests/crypto/resources/subtle-crypto-concurrent.js |
index d4c79bbfb4b7b63b4bfffdb81af03d582f454f67..9ed29f8c546a6b1b8f784c399331a7e77166b4e1 100644 |
--- a/LayoutTests/crypto/resources/subtle-crypto-concurrent.js |
+++ b/LayoutTests/crypto/resources/subtle-crypto-concurrent.js |
@@ -32,10 +32,10 @@ function notifyFailure(details) |
function testGenerateRsaKey() |
{ |
var extractable = false; |
- var usages = ['encrypt', 'decrypt']; |
+ var usages = ['sign', 'verify']; |
// Note that the modulus length is unusually small in order to speed up |
// the test (1024 or 2048 would be more typical). |
- var algorithm = {name: "RSAES-PKCS1-v1_5", modulusLength: 256, publicExponent: hexStringToUint8Array("010001")}; |
+ var algorithm = {name: "RSASSA-PKCS1-v1_5", modulusLength: 256, publicExponent: hexStringToUint8Array("010001"), hash: {name: "SHA-256"}}; |
return crypto.subtle.generateKey(algorithm, extractable, usages).then(function(result) { |
publicKey = result.publicKey; |