I'm having more issues when compiling with XCode 15.1 and macOS Sonoma 14.2.
My project compiled just fine before the latests changes to macOS/XCode and tunnelkit 6.2.0.
I'm just building as I have always did.
Steps to reproduce
Build the project.
What is the current bug behavior?
Getting these errors:
SourcePackages/checkouts/tunnelkit/Sources/CTunnelKitOpenVPNProtocol/TLSBox.m:409:18: error: call to undeclared function 'SSL_get1_peer_certificate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
X509 *cert = SSL_get1_peer_certificate(self.ssl);
SourcePackages/checkouts/tunnelkit/Sources/CTunnelKitOpenVPNProtocol/TLSBox.m:409:18: note: did you mean 'SSL_get_peer_certificate'?
In file included from SourcePackages/checkouts/tunnelkit/Sources/CTunnelKitOpenVPNProtocol/TLSBox.m:37:
Build/Products/Debug/openssl.framework/Headers/ssl.h:1688:14: note: 'SSL_get_peer_certificate' declared here
__owur X509 *SSL_get_peer_certificate(const SSL *s);
^
SourcePackages/checkouts/tunnelkit/Sources/CTunnelKitOpenVPNProtocol/TLSBox.m:457:18: error: call to undeclared function 'SSL_get1_peer_certificate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
X509 *cert = SSL_get1_peer_certificate(self.ssl);
Summary
I'm having more issues when compiling with XCode 15.1 and macOS Sonoma 14.2. My project compiled just fine before the latests changes to macOS/XCode and tunnelkit 6.2.0. I'm just building as I have always did.
Steps to reproduce
Build the project.
What is the current bug behavior?
Getting these errors:
What is the expected correct behavior?
Code compiles correctly.