Closed wtholliday closed 2 months ago
Just updated OpenSSL from 4ae145c1446851cda62fa4b09c7b5e5c540d7b20 to 7405324f9b1a64a79e5fa3660d2eda901d1337f2. Now getting:
4ae145c1446851cda62fa4b09c7b5e5c540d7b20
7405324f9b1a64a79e5fa3660d2eda901d1337f2
error: cannot find 'sk_X509_free' in scope error: cannot find 'sk_X509_num' in scope error: cannot find 'sk_X509_value' in scope
Seems these were formerly functions and became macros so they aren't usable from swift directly?
https://github.com/krzyzanowskim/OpenSSL/blob/7405324f9b1a64a79e5fa3660d2eda901d1337f2/macosx/include/OpenSSL/x509.h#L85
Swift compiler does not resolve C macros, and that's why. That is OpenSSL API change.
Just updated OpenSSL from
4ae145c1446851cda62fa4b09c7b5e5c540d7b20
to7405324f9b1a64a79e5fa3660d2eda901d1337f2
. Now getting:Seems these were formerly functions and became macros so they aren't usable from swift directly?
https://github.com/krzyzanowskim/OpenSSL/blob/7405324f9b1a64a79e5fa3660d2eda901d1337f2/macosx/include/OpenSSL/x509.h#L85