| Index: Source/modules/crypto/SubtleCrypto.cpp
|
| diff --git a/Source/modules/crypto/SubtleCrypto.cpp b/Source/modules/crypto/SubtleCrypto.cpp
|
| index e5d25857c9f307d99c3d923cbeadeefbb8593815..94919219f609354d48cff08840a34f115bc15c5a 100644
|
| --- a/Source/modules/crypto/SubtleCrypto.cpp
|
| +++ b/Source/modules/crypto/SubtleCrypto.cpp
|
| @@ -167,7 +167,7 @@ ScriptObject SubtleCrypto::importKey(const String& rawFormat, ArrayBufferView* k
|
| }
|
|
|
| WebKit::WebCryptoAlgorithm algorithm;
|
| - if (!normalizeAlgorithmForImportKey(rawAlgorithm, algorithm, es))
|
| + if (!normalizeAlgorithm(rawAlgorithm, ImportKey, algorithm, es))
|
| return ScriptObject();
|
|
|
| const unsigned char* keyDataBytes = static_cast<unsigned char*>(keyData->baseAddress());
|
|
|