The vulnerabilities were addressed in OpenSSL 1.0.2f/1.0.1r

i am using cocos2d-x v 3.4 for my game. recently i uploaded a new apk to store and i got email stating that my apk is vulnerable to security so they rejected it.
or running this command : $ unzip -p mygame.apk | strings | grep “OpenSSL”
i got this log.

GmsCore_OpenSSL
OpenSSLDie
OpenSSL_add_all_ciphers
OpenSSL_add_all_digests
DH_OpenSSL
DSA_OpenSSL
ECDH_OpenSSL
ECDSA_OpenSSL
UI_OpenSSL
could not parse PKCS12 file, check password, OpenSSL error %s
OpenSSL/%lx.%lx.%lx%s
%s(%d): OpenSSL internal error, assertion failed: %s
OpenSSL 1.0.1h 5 Jun 2014
OpenSSL CMAC method
OpenSSL PKCS#3 DH method
OpenSSL DH Method
OpenSSL DSA method
OpenSSL EC algorithm
OpenSSL ECDH method
OpenSSL ECDSA method
OpenSSL HMAC method
You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html
OpenSSL RSA method
OpenSSL ‘dlfcn’ shared library method
OpenSSL default user interface
OpenSSL default
ASN.1 part of OpenSSL 1.0.1h 5 Jun 2014
Big Number part of OpenSSL 1.0.1h 5 Jun 2014
EVP part of OpenSSL 1.0.1h 5 Jun 2014
lhash part of OpenSSL 1.0.1h 5 Jun 2014
MD4 part of OpenSSL 1.0.1h 5 Jun 2014
MD5 part of OpenSSL 1.0.1h 5 Jun 2014
RC2 part of OpenSSL 1.0.1h 5 Jun 2014
RIPE-MD160 part of OpenSSL 1.0.1h 5 Jun 2014
RSA part of OpenSSL 1.0.1h 5 Jun 2014
SHA1 part of OpenSSL 1.0.1h 5 Jun 2014
SHA-256 part of OpenSSL 1.0.1h 5 Jun 2014
SHA-512 part of OpenSSL 1.0.1h 5 Jun 2014
Stack part of OpenSSL 1.0.1h 5 Jun 2014
X.509 part of OpenSSL 1.0.1h 5 Jun 2014
SSLv2 part of OpenSSL 1.0.1h 5 Jun 2014
(((((sSSLv3 part of OpenSSL 1.0.1h 5 Jun 2014
TLSv1 part of OpenSSL 1.0.1h 5 Jun 2014
KGS!@#$%AES part of OpenSSL 1.0.1h 5 Jun 2014
Blowfish part of OpenSSL 1.0.1h 5 Jun 2014
DES part of OpenSSL 1.0.1h 5 Jun 2014
libdes part of OpenSSL 1.0.1h 5 Jun 2014
Diffie-Hellman part of OpenSSL 1.0.1h 5 Jun 2014
DSA part of OpenSSL 1.0.1h 5 Jun 2014
^ECDH part of OpenSSL 1.0.1h 5 Jun 2014
ECDSA part of OpenSSL 1.0.1h 5 Jun 2014
PEM part of OpenSSL 1.0.1h 5 Jun 2014
RAND part of OpenSSL 1.0.1h 5 Jun 2014
RC4 part of OpenSSL 1.0.1h 5 Jun 2014
TXT_DB part of OpenSSL 1.0.1h 5 Jun 2014
ECONF part of OpenSSL 1.0.1h 5 Jun 2014
CONF_def part of OpenSSL 1.0.1h 5 Jun 2014

then i changed the curl folder in my cocos2d-x with the latest one. I didn’t completly update coco2d-x but took curl folder from version 3.14.1 and replaced it with mine. now again running $ unzip -p mygame.apk | strings | grep “OpenSSL” command i got this.

GmsCore_OpenSSL
UI_OpenSSL
OpenSSLDie
DH_OpenSSL
OpenSSL_add_all_ciphers
OpenSSL_add_all_digests
DSA_OpenSSL
ECDSA_OpenSSL
ECDH_OpenSSL
could not load PEM client certificate, OpenSSL error %s, (no key found, wrong pass phrase, or wrong file format?)
could not load ASN1 client certificate, OpenSSL error %s, (no key found, wrong pass phrase, or wrong file format?)
could not parse PKCS12 file, check password, OpenSSL error %s
could not load PKCS12 client certificate, OpenSSL error %s
unable do create OpenSSL user-interface method
OpenSSL SSL read: %s, errno %d
OpenSSL
OpenSSL 1.0.1r 28 Jan 2016
%s(%d): OpenSSL internal error, assertion failed: %s
OpenSSL DH Method
OpenSSL default user interface
OpenSSL CMAC method
OpenSSL HMAC method
OpenSSL EC algorithm
OpenSSL RSA method
OpenSSL DSA method
OpenSSL ECDSA method
OpenSSL PKCS#3 DH method
OpenSSL ECDH method
You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html
OpenSSL default
SSLv2 part of OpenSSL 1.0.1r 28 Jan 2016
SSLv3 part of OpenSSL 1.0.1r 28 Jan 2016
TLSv1 part of OpenSSL 1.0.1r 28 Jan 2016
DTLSv1 part of OpenSSL 1.0.1r 28 Jan 2016
MD4 part of OpenSSL 1.0.1r 28 Jan 2016
MD5 part of OpenSSL 1.0.1r 28 Jan 2016
SHA1 part of OpenSSL 1.0.1r 28 Jan 2016
SHA-256 part of OpenSSL 1.0.1r 28 Jan 2016
DlSHA-512 part of OpenSSL 1.0.1r 28 Jan 2016
DES part of OpenSSL 1.0.1r 28 Jan 2016
libdes part of OpenSSL 1.0.1r 28 Jan 2016
Big Number part of OpenSSL 1.0.1r 28 Jan 2016
EC part of OpenSSL 1.0.1r 28 Jan 2016
(1RSA part of OpenSSL 1.0.1r 28 Jan 2016
Diffie-Hellman part of OpenSSL 1.0.1r 28 Jan 2016
Stack part of OpenSSL 1.0.1r 28 Jan 2016
lhash part of OpenSSL 1.0.1r 28 Jan 2016
EVP part of OpenSSL 1.0.1r 28 Jan 2016
ASN.1 part of OpenSSL 1.0.1r 28 Jan 2016
PEM part of OpenSSL 1.0.1r 28 Jan 2016
X.509 part of OpenSSL 1.0.1r 28 Jan 2016
AES part of OpenSSL 1.0.1r 28 Jan 2016
cU!
}RC2 part of OpenSSL 1.0.1r 28 Jan 2016
IDEA part of OpenSSL 1.0.1r 28 Jan 2016
CAMELLIA part of OpenSSL 1.0.1r 28 Jan 2016
EDSA part of OpenSSL 1.0.1r 28 Jan 2016
ECDSA part of OpenSSL 1.0.1r 28 Jan 2016
ECDH part of OpenSSL 1.0.1r 28 Jan 2016
RAND part of OpenSSL 1.0.1r 28 Jan 2016
CONF part of OpenSSL 1.0.1r 28 Jan 2016
CONF_def part of OpenSSL 1.0.1r 28 Jan 2016
TXT_DB part of OpenSSL 1.0.1r 28 Jan 2016
+SHA part of OpenSSL 1.0.1r 28 Jan 2016
RIPE-MD160 part of OpenSSL 1.0.1r 28 Jan 2016
RC4 part of OpenSSL 1.0.1r 28 Jan 2016
:Blowfish part of OpenSSL 1.0.1r 28 Jan 2016
\CAST part of OpenSSL 1.0.1r 28 Jan 2016

i uploaded this apk but got that mail again. As it states “vulnerabilities were addressed in OpenSSL 1.0.2f/1.0.1r.” and latest Cocos2d-x is using 1.0.1r version. i think it need to be updated.
as from OenSSL website latest version released was on 27-Feb-2017.

Please someone look in to this.

Have you run download-deps again?

Search our blog for OpenSSL. There is a post about how to update OpenSSL

will running download-deps will only update the third party libs, i dont want to update cocos2d-x for this game.
can you give me link to that post?

i ran this but got this log in terminal with an error

=======================================================
==> Prepare to download external libraries!
==> Ready to download ‘v3-deps-33.zip’ from ‘https://github.com/cocos2d/cocos2d-x-3rd-party-libs-bin/archive/v3-deps-33.zip
Traceback (most recent call last):
File “download-deps.py”, line 323, in
main()
File “download-deps.py”, line 312, in main
installer.run(workpath, external_path, opts.remove_downloaded, opts.force_update, opts.download_only)
File “download-deps.py”, line 250, in run
self.download_zip_file()
File “download-deps.py”, line 212, in download_zip_file
self.download_file()
File “download-deps.py”, line 101, in download_file
u = urllib2.urlopen(self._url)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
response = self._open(req, data)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
‘_open’, req)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
result = func(*args)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1240, in https_open
context=self._context)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1197, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>

read this: http://blog.cocos2d-x.org/2016/04/openssl-update/

Tried exactly like that but got this log

=======================================================
==> Prepare to download external libraries!
Traceback (most recent call last):
File “download-deps.py”, line 323, in
main()
File “download-deps.py”, line 311, in main
installer = CocosZipInstaller(workpath, os.path.join(workpath, ‘external’, ‘config.json’), os.path.join(workpath, ‘external’, ‘version.json’), “prebuilt_libs_version”)
File “download-deps.py”, line 69, in init
data = self.load_json_file(config_path)
File “download-deps.py”, line 239, in load_json_file
data = json.load(data_file)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py”, line 290, in load
**kw)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py”, line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Invalid control character at: line 2 column 30 (char 31)

@zhangbin @zhangxm any thoughts here?

It is updated to v1.1.0 in v3.15 https://github.com/cocos2d/cocos2d-x/issues/16446. And the third party libraries includes it. In deed, you guys can build the version you need by using this repo: https://github.com/cocos2d/cocos2d-x-3rd-party-libs-src.

@slackmoehrle @zhangxm : Thanks for the links and update. But is there way that i can just replace some directories (like curl or whichever is needed). Instead of updating cocos2d-x or building libs on my own?

ok i tired and build third-party-libs (only curl ) replacing it with current libcurl i created APK. and on running command

$ unzip -p mygame.apk | strings | grep “OpenSSL”

i got this error

Failed to seed OpenSSL PRNG
applyOpenSSLFix

You should replace curl and openssl too, now openssl is moved out of curl, because other libs depends on it too. And you should change the Android.mk for curl to link openssl. So what you do are:

  • replace curl folder
  • add openssl folder

these prebuilt libraries are all in https://github.com/cocos2d/cocos2d-x-3rd-party-libs-bin. Just copy and replace.

I changed all libriaries with the new ones from the link you provided. For debug mode app runs but running command :

$ unzip -p WildSeq.apk | strings | grep “OpenSSL”

give same result.

Failed to seed OpenSSL PRNG
applyOpenSSLFix

while compiling for release mode it compilation faild with this log.

$ cocos compile -p android --ap android-22 -m release
Building mode: release
Using Eclipse project : /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/proj.android
running: ‘/Users/GRANJUR/Library/Android/sdk/tools/android update project -t android-22 -p /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/proj.android’

Updated project.properties
Updated local.properties
Updated file /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/proj.android/proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
running: ‘/Users/GRANJUR/Library/Android/sdk/tools/android update lib-project -p /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/BaseGameUtils -t android-22’

Updated project.properties
Updated local.properties
Updated file /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/BaseGameUtils/proguard-project.txt
running: ‘/Users/GRANJUR/Library/Android/sdk/tools/android update lib-project -p /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/GranjurLibraries/google_play_services/libproject/google-play-services_lib -t android-22’

Updated project.properties
Updated local.properties
Updated file /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/GranjurLibraries/google_play_services/libproject/google-play-services_lib/proguard-project.txt
running: ‘/Users/GRANJUR/Library/Android/sdk/tools/android update lib-project -p /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/GameCircleSDK -t android-22’

Updated project.properties
Updated local.properties
Updated file /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/GameCircleSDK/proguard-project.txt
running: ‘/Users/GRANJUR/Library/Android/sdk/tools/android update lib-project -p /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/GranjurLibraries/google_play_services/libproject/google-play-services_lib -t android-22’

Updated project.properties
Updated local.properties
Updated file /Volumes/Data/v3.4/Granjur_v3.4/Android/Dependency/GranjurLibraries/google_play_services/libproject/google-play-services_lib/proguard-project.txt
running: ‘/Users/GRANJUR/Library/Android/sdk/tools/android update lib-project -p /Volumes/Data/v3.4/cocos2d-x-3.14/cocos/platform/android/java -t android-22’

Updated project.properties
Updated local.properties
Updated file /Volumes/Data/v3.4/cocos2d-x-3.14/cocos/platform/android/java/proguard-project.txt
Building native…
NDK build mode: release
running: ‘/Volumes/Data/v3.4/Granjur_v3.4/Android/NDK/android-ndk-r10/ndk-build -C /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/proj.android -j8 NDK_MODULE_PATH=/Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d:/Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos:/Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external NDK_TOOLCHAIN_VERSION=4.9’

make: Entering directory /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/proj.android' [armeabi] StaticLibrary : libcocos2d.a [armeabi] Compile++ arm : cocostudio_static <= LocalizationManager.cpp [armeabi] Compile++ arm : cocostudio_static <= NodeReader.cpp [armeabi] Compile++ arm : cocostudio_static <= SingleNodeReader.cpp [armeabi] Compile++ arm : cocostudio_static <= SpriteReader.cpp [armeabi] Compile++ arm : cocostudio_static <= ParticleReader.cpp [armeabi] Compile++ arm : cocostudio_static <= GameMapReader.cpp [armeabi] Compile++ arm : cocostudio_static <= ProjectNodeReader.cpp [armeabi] Compile++ arm : cocostudio_static <= ComAudioReader.cpp In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ProjectNodeReader/ProjectNodeReader.cpp:27:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h: In function 'bool flatbuffers::VerifyCSParseBinaryBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ProjectNodeReader/ProjectNodeReader.cpp:27: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ProjectNodeReader/ProjectNodeReader.cpp:27:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate expects 1 argument, 0 provided inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/SingleNodeReader/SingleNodeReader.cpp:27:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h: In function 'bool flatbuffers::VerifyCSParseBinaryBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/SingleNodeReader/SingleNodeReader.cpp:27: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/SingleNodeReader/SingleNodeReader.cpp:27:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate expects 1 argument, 0 provided inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp:27:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h: In function 'bool flatbuffers::VerifyCSParseBinaryBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp:27: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp:27:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate expects 1 argument, 0 provided inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/ProjectNodeReader/ProjectNodeReader.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/LocalizationManager.cpp:4:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSLanguageDataBinary_generated.h: In function 'bool flatbuffers::VerifyLanguageSetBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSLanguageDataBinary_generated.h:81:114: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyLanguageSetBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<LanguageSet>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSLanguageDataBinary_generated.h:81:114: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSLanguageDataBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/LocalizationManager.cpp:4: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/LocalizationManager.cpp:4:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSLanguageDataBinary_generated.h:81:114: note: candidate expects 1 argument, 0 provided inline bool VerifyLanguageSetBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<LanguageSet>(); } ^ In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ParticleReader/ParticleReader.cpp:30:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h: In function 'bool flatbuffers::VerifyCSParseBinaryBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ParticleReader/ParticleReader.cpp:30: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ParticleReader/ParticleReader.cpp:30:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate expects 1 argument, 0 provided inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/SpriteReader/SpriteReader.cpp:31:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h: In function 'bool flatbuffers::VerifyCSParseBinaryBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/SpriteReader/SpriteReader.cpp:31: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/SpriteReader/SpriteReader.cpp:31:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate expects 1 argument, 0 provided inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ComAudioReader/ComAudioReader.cpp:28:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h: In function 'bool flatbuffers::VerifyCSParseBinaryBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ComAudioReader/ComAudioReader.cpp:28: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ComAudioReader/ComAudioReader.cpp:28:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate expects 1 argument, 0 provided inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ make: *** [obj/local/armeabi/objs/cocostudio_static/LocalizationManager.o] Error 1 make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/SingleNodeReader/SingleNodeReader.o] Error 1 make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/ParticleReader/ParticleReader.o] Error 1 In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/GameMapReader/GameMapReader.cpp:33:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h: In function 'bool flatbuffers::VerifyCSParseBinaryBuffer(flatbuffers::Verifier&)': /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: error: no matching function for call to 'flatbuffers::Verifier::VerifyBuffer()' inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate is: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:6:0, from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/GameMapReader/GameMapReader.cpp:33: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template<class T> bool flatbuffers::Verifier::VerifyBuffer(const char*) template<typename T> bool VerifyBuffer(const char *identifier) { ^ /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/external/flatbuffers/../flatbuffers/flatbuffers.h:1442:29: note: template argument deduction/substitution failed: In file included from /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/editor-support/cocostudio/WidgetReader/GameMapReader/GameMapReader.cpp:33:0: /Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/cocos2d/cocos/./editor-support/cocostudio/CSParseBinary_generated.h:2652:118: note: candidate expects 1 argument, 0 provided inline bool VerifyCSParseBinaryBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<CSParseBinary>(); } ^ make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/ComAudioReader/ComAudioReader.o] Error 1 make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/SpriteReader/SpriteReader.o] Error 1 make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/NodeReader/NodeReader.o] Error 1 make: *** [obj/local/armeabi/objs/cocostudio_static/WidgetReader/GameMapReader/GameMapReader.o] Error 1 make: Leaving directory/Volumes/Data/v3.4/Granjur_v3.4/Projects/WildSeq/proj.android’
Error running command, return code: 2.

My result is

A03101308207:apk minggo$  unzip -p CppTests-debug.apk | strings | grep "OpenSSL"
DH_OpenSSL
DSA_OpenSSL
EC_KEY_OpenSSL
RAND_OpenSSL
RSA_PKCS1_OpenSSL
UI_OpenSSL
 Compiled with OpenSSL support
OpenSSL CMAC method
%s:%d: OpenSSL internal error: %s
OpenSSL X9.42 DH method
OpenSSL PKCS#3 DH method
OpenSSL DH Method
OpenSSL DSA method
OpenSSL EC algorithm
OpenSSL EC_KEY method
OpenSSL X25519 algorithm
OpenSSL HMAC method
OpenSSL RSA method
OpenSSL PKCS#1 RSA (from Eric Young)
OpenSSL default
OpenSSL 'dlfcn' shared library method
You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html
OpenSSL default user interface
OpenSSL 1.1.0c  10 Nov 2016

Did you mean you update all libraries includes flatbuffer, Box2D and other libs? If so you will meet error, for example, current flatbuffers is not compatible with previous one. You should just replace needed libraries.

this time i changed only curl and openssl libs.
but grep command gave the same result

Failed to seed OpenSSL PRNG
applyOpenSSLFix

although it didn’t crashed anymore.

one more thing i am using editbox in my game. it was working fine when i was on cocos2d-x 3.4. but now on cocos2d-x 3.14 and 3.14.1 this causing a crash.
this is how i am using editbox.

Size edSize = Size(fillupBox->Width*SHARED->scale,fillupBox->Height*SHARED->scale);

 EditBox *ed1 = EditBox::create(edSize," ");
ed1->setAnchorPoint(Vec2(0.5,0.5));
ed1->setText(text.c_str());
ed1->setInputMode(cocos2d::ui::EditBox::InputMode::SINGLE_LINE);
ed1->setReturnType(cocos2d::ui::EditBox::KeyboardReturnType::DONE);
ed1->setFont(FONT_NAME,10);
ed1->setFontColor(Color3B::BLACK);
ed1->setTag(1);
ed1->setMaxLength(15);
ed1->setPosition(Vec2(fillupBox->getPositionX(),fillupBox->getPositionY()));
popUp->addChild(ed1, 4);
ed1->setDelegate(this);

if i comment out this it works fine. I also mentioned same thing on github issue. Forgive me if i am making things messy for you guys but i need to fix this game very urgent :frowning:

@zhangxm @slackmoehrle
any help here

Place a breakpoint to see which line it crashes on

@slackmoehrle

EditBox *ed1 = EditBox::create(edSize," ");

it crashes on this line. Where edSize is (100, 100).

i have also tried : EditBox *ed1 = EditBox::create(edSize,"HelloWorld");

Weird. Does the demo in cpp-tests work?

in cpp-test they are using TextField for text input now, so i used it as well and the issue is resolved.
but openSSL issue is still there. of running command
$ unzip -p myGame.apk | strings | grep "OpenSSL"

is still get this error.

Failed to seed OpenSSL PRNG
applyOpenSSLFix