iDevGames Forums
openssl for iphone - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: openssl for iphone (/thread-11978.html)

openssl for iphone - noface0711 - Apr 9, 2016 02:44 AM

I am new to iPhone development. I have an application that uses openssl. It compiles fine on Mac and Linux. But I get plenty of linking errors while build for iPhone. The linking errors are something like this:
"_EVP_dss1", referenced from:
_SSL_library_init in ssl_algs.o

What I did is: I installed openssl on iPhone using Cydia. Then brought the libssl.a and header files from iPhone to Mac PC using FTP. Added the libssl.a file in framework of the project, and the path of the header files to Header Search Path of the project.

Am I missing anything or approaching in the wrong way? Any suggestion will be highly appreaciated.