Update OpenSSL version in OF_v0.9.8_android


#1

Hello, I’m using OF_v0.9.8_android in an android app. Play store do not allow me to publish my application because of an OpenSSL 1.02f/1.01r vulnerability. I downloaded one of the nightly builds but it looks different than the current version. Therefore i may have to change a lot in my completed project to integrate nightly build. So could you please let me know is there any way to upgrade OpenSSL version in OF_v0.9.8 to a later version? Any help will be really appreciated. Thank you!


#2

you can compile openssl by yourself and substitute it in libs/openssl. also downloading the nightly and only changing the libraries might work as well


#3

Thank you a lot for the help. I really appreciate it. I will try these suggestions. Again thank you!


#4

I tried replacing openssl *.a files with a newer version in libs/openssl folder but after the changes my project keep building without ending. It stucked at Configuring project ':openframeworks'. @arturo, could you please take a look at this and tell me what am i doing wrong? Can you suggest correct steps. Thank you!


#5

Ok I found a way to remove OpenSSL issue. I don’t use any of the PocoNet, PocoNetSSL, PocoCrypto libs which require OpenSSL. Therefore I removed these unwanted Poco libs and OpenSSL libs from the build script. And updated openframeworks cpp and header files to remov references for those removed libs. Then I built the project. Now its working fine and extracted apk does not include any openssl.