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

Unified Diff: Source/modules/crypto/AesCbcParams.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
Index: Source/modules/crypto/AesCbcParams.cpp
diff --git a/Source/modules/crypto/AesCbcParams.cpp b/Source/modules/crypto/AesCbcParams.cpp
index cce588ca6dd39a053adfc7282818a16f79139c85..e84bc7a2c984a644833b2bd67b73973315729a3e 100644
--- a/Source/modules/crypto/AesCbcParams.cpp
+++ b/Source/modules/crypto/AesCbcParams.cpp
@@ -47,6 +47,7 @@ Uint8Array* AesCbcParams::iv()
AesCbcParams::AesCbcParams(const WebKit::WebCryptoAlgorithm& algorithm)
: Algorithm(algorithm)
{
+ ASSERT(algorithm.aesCbcParams());
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp ('k') | Source/modules/crypto/AesKeyGenParams.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698