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); |
} |