Android How to address OpenSSL vulnerabilities in your apps

[TOC]

谷歌要求OpenSSL需要在一定版本以上才可以上架

http://www.openssl.org/news/secadv_20140605.txt
https://support.google.com/faqs/answer/6376725?hl=en

OpenSSL 1.02f/1.01r or higher

Android 6.0 帮助文档

https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#boringSSL

查看OpenSSL的方法

unzip -p YourApp.apk | strings | grep "OpenSSL"

cocos2dx 升级方法

下载安全的版本OpenSSL

https://github.com/openssl/openssl/releases

替换 cocos2dx/platform/third_party/android/prebuilt/libcurl/libs

清空 原来在用NDK打包时要清除所有.a结尾的库文件

删除完.a 文件后clean一下,再次编译

你可能感兴趣的:(Android How to address OpenSSL vulnerabilities in your apps)