Bug 312030
| Summary: | [CMake] Fix PAL CryptoKit Swift integration for Mac build | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | pascoe <pascoe> |
| Component: | CMake | Assignee: | pascoe <pascoe> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
pascoe@apple.com
PAL CryptoKit wrappers call into Swift via PALSwift-Generated.h. The CMake Mac build generates a CommonCrypto stub covering only hashing. WebCrypto EC/EdDSA/HMAC/HKDF/AES operations hit RELEASE_ASSERT at runtime because CMake Swift language support is not wired up on Mac.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
pascoe@apple.com
I ended up fixing this in https://github.com/WebKit/WebKit/pull/62558
pascoe@apple.com
*** This bug has been marked as a duplicate of bug 62558 ***