The vulnerabilities were addressed in OpenSSL 1.02f/1.01r. cocos2d 2.2.6

1.先去github上下载最新的库

https://github.com/cocos2d/cocos2d-x-3rd-party-libs-bin/tree/v2

 

左边是可以选择版本,v2还是v3,右边是下载。 主要更新的目录是。进行对比替换。还有android 的 Make文件

 

 

 

 http://www.waitingfy.com/archives/1804/cocos2d2-2-6_openssl_patch   

也可以下载我这个patch进行对比

 

2. 记得用较高版本的NDK进行编译

 

 

非常重要!,要 r10。删掉之前已经编译的.o文件,全部重新编译

 

 

3. 更新友盟统计

 

http://www.waitingfy.com/archives/1804

 

1804

Leave a Reply

Name and Email Address are required fields.
Your email will not be published or shared with third parties.