Commit 6cfecdc0 authored by ap@apple.com's avatar ap@apple.com

WebCrypto HMAC doesn't check key algorithm's hash

https://bugs.webkit.org/show_bug.cgi?id=125114

Update layout test result for a last minute change in test content.

* crypto/subtle/hmac-check-algorithm-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4c0169c4
2013-12-03 Alexey Proskuryakov <ap@apple.com>
WebCrypto HMAC doesn't check key algorithm's hash
https://bugs.webkit.org/show_bug.cgi?id=125114
Update layout test result for a last minute change in test content.
* crypto/subtle/hmac-check-algorithm-expected.txt:
2013-12-03 Ryosuke Niwa <rniwa@webkit.org>
XML fragment parsing algorithm doesn't use the context element's default namespace URI
......
......@@ -4,7 +4,10 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Importing a raw HMAC SHA-1 key from string literal...
Done
PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-1'}}, key, asciiToUint8Array('foo')) did not throw exception.
PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, key, asciiToUint8Array('foo')) threw exception Error: NotSupportedError: DOM Exception 9.
PASS crypto.subtle.verify({name: 'hmac', hash: {name: 'sha-1'}}, key, asciiToUint8Array('fake signature'), asciiToUint8Array('foo')) did not throw exception.
PASS crypto.subtle.verify({name: 'hmac', hash: {name: 'sha-256'}}, key, asciiToUint8Array('fake signature'), asciiToUint8Array('foo')) threw exception Error: NotSupportedError: DOM Exception 9.
PASS successfullyParsed is true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment