[Bug 44173] New: error: use of undeclared identifier 'kCCAlgorithmAES'
https://bugs.winehq.org/show_bug.cgi?id=44173 Bug ID: 44173 Summary: error: use of undeclared identifier 'kCCAlgorithmAES' Product: Wine Version: 3.0-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: bcrypt Assignee: wine-bugs(a)winehq.org Reporter: wine(a)ryandesign.com Distribution: --- Hi, I'm the maintainer of wine in MacPorts. wine 3.0-rc1 does not build on OS X 10.8 and earlier because you are calling CCCryptorCreateWithMode with the constant kCCAlgorithmAES, and kCCAlgorithmAES was introduced in OS X 10.9. bcrypt_main.c:916:68: error: use of undeclared identifier 'kCCAlgorithmAES'; did you mean 'kCCAlgorithmDES'? bcrypt_main.c:922:68: error: use of undeclared identifier 'kCCAlgorithmAES'; did you mean 'kCCAlgorithmDES'? Here is a build log of the failure: https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/... OS X 10.8 and earlier used the constant kCCAlgorithmAES128 which has the same value and means the same thing. kCCAlgorithmAES128 is still in the headers on macOS 10.13 so it should be safe to always use the old kCCAlgorithmAES128 constant name. That's what I did in MacPorts to fix it: https://github.com/macports/macports-ports/commit/57f6a37383ad2acd0b25bcec19... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44173 Ryan Schmidt <wine(a)ryandesign.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Mac OS X -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44173 --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> --- The fix looks good, please send it to wine-devel. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44173 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |dda67031c78c50fae00140976c2 | |459c58bc5c936 --- Comment #2 from Hans Leidekker <hans(a)meelstraat.net> --- Fix committed as dda67031c78c50fae00140976c2459c58bc5c936. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44173 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.0-rc3. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org