| Index: Source/core/frame/SubresourceIntegrity.cpp
|
| diff --git a/Source/core/frame/SubresourceIntegrity.cpp b/Source/core/frame/SubresourceIntegrity.cpp
|
| index e65193dec20431aaa7c12ea52ee20b60d6ecaaa7..3fefa291430bc9830c005592033dc3b6f1b7fd42 100644
|
| --- a/Source/core/frame/SubresourceIntegrity.cpp
|
| +++ b/Source/core/frame/SubresourceIntegrity.cpp
|
| @@ -108,6 +108,7 @@ bool SubresourceIntegrity::CheckSubresourceIntegrity(const Element& element, con
|
| }
|
| }
|
|
|
| + digest.clear();
|
| if (computeDigest(HashAlgorithmSha256, normalizedSource.data(), normalizedSource.length(), digest)) {
|
| // This message exposes the digest of the resource to the console.
|
| // Because this is only to the console, that's okay for now, but we
|
|
|