Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1493)

Unified Diff: Source/modules/crypto/HmacParams.cpp

Issue 21759002: WebCrypto: Add algorithm normalization rules for RSASSA-PKCS1-v1_5. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/crypto/Algorithm.cpp ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/HmacParams.cpp
diff --git a/Source/modules/crypto/HmacParams.cpp b/Source/modules/crypto/HmacParams.cpp
index c5bd9cf90c2b64c24f596f0687a29570f683a7b6..8a00564ceeba6d69ddec3c6e1570201759be66f6 100644
--- a/Source/modules/crypto/HmacParams.cpp
+++ b/Source/modules/crypto/HmacParams.cpp
@@ -45,6 +45,7 @@ Algorithm* HmacParams::hash()
HmacParams::HmacParams(const WebKit::WebCryptoAlgorithm& algorithm)
: Algorithm(algorithm)
{
+ ASSERT(algorithm.hmacParams());
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/modules/crypto/Algorithm.cpp ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698