Cocos2d-x Fix for OpenSSL problem

“Beginning July 11, 2016, Google Play will block publishing of any new apps or updates that use older versions of OpenSSL. If you’re using a 3rd party library that bundles OpenSSL, you’ll need to upgrade it to a version that bundles OpenSSL 1.02f/1.01r or higher.

The vulnerabilities were addressed in OpenSSL 1.02f/1.01r. The latest versions of OpenSSL can be downloaded here. To confirm your OpenSSL version, you can do a grep search for ($ unzip -p YourApp.apk | strings | grep “OpenSSL”).”

I’ve made a fix for the following issue, all you need to do is extract the zip file to “cocos2d\external” folder.
This will replace curl and open ssl libraries to:

curl-7.48.0.tar.gz
openssl-1.0.1r.tar.gz

Download fix from here:

Curl_fix.zip for Cocos2d-x 3.x

Curl_fix_2.zip for Cocos2d-x 2.x

 
Add a comment

Comments (17)