WebCrypto wrapKey operation doesn't check key usage
[WebKit-https.git] / Source / WebCore / ChangeLog
index 4213672..2aa5f2f 100644 (file)
@@ -1,3 +1,16 @@
+2013-12-12  Alexey Proskuryakov  <ap@apple.com>
+
+        WebCrypto wrapKey operation doesn't check key usage
+        https://bugs.webkit.org/show_bug.cgi?id=125675
+
+        Reviewed by Darin Adler.
+
+        Tests: crypto/subtle/unwrapKey-check-usage.html
+               crypto/subtle/wrapKey-check-usage.html
+
+        * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::JSSubtleCrypto::wrapKey):
+        Added accidentally omitted code. Other operations are fine.
+
 2013-12-12  Darin Adler  <darin@apple.com>
 
         Make some improvements in CSSImageGeneratorValue code