Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kill_it:daw
libqt5-qtwebkit
qtwebkit-fix-build-gcc14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qtwebkit-fix-build-gcc14.patch of Package libqt5-qtwebkit
diff --git a/Source/WebCore/page/csp/ContentSecurityPolicy.cpp b/Source/WebCore/page/csp/ContentSecurityPolicy.cpp index 9e726d5..4876f0f 100644 --- a/Source/WebCore/page/csp/ContentSecurityPolicy.cpp +++ b/Source/WebCore/page/csp/ContentSecurityPolicy.cpp @@ -231,8 +231,9 @@ bool isAllowedByAllWithHashFromContent(const CSPDirectiveListVector& policies, c auto cryptoDigest = CryptoDigest::create(toCryptoDigestAlgorithm(algorithm)); cryptoDigest->addBytes(contentCString.data(), contentCString.length()); Vector<uint8_t> digest = cryptoDigest->computeHash(); + ContentSecurityPolicyHash hash = std::make_pair(algorithm, digest); for (auto& policy : policies) { - if ((policy.get()->*allowed)(std::make_pair(algorithm, digest))) + if ((policy.get()->*allowed)(hash)) return true; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor