OpenSSL problem again

@itzo @huangkunkunkun What’s your cocos2d-x version?

how to clear errors,plz help

Are you fix cocos2d v2.x.x ?
Please share me if fixed :joy:

@Owen and @zhangxm
Thank you so much for your help.

Yesterday I Upload new build apk and today no warning.

@owan solution is completely work.

But Guys You need to update your ndk 10 or higher.

@owen

Successful Done .
Thank You So Much .
The Warning is removed .

1 Like

@xekoab

Yes . I Have Successfully Done .
update New Lib For These


And
you Need To Update Your NDK 10 Or Higher For This .

@zhangxm , Thanks you so much for cocos2dx2.2.6 fix for OpenSSL warning , i replaced libcurl and working very fine , no errors at compile and also warning removed by playstore. :v:

Probably cocos2d-x-3.2 Jul.17 2014.

Not sure. Why?

You said OpenSLL is not changed after replacing the curl folder, but it should work. Because you used v3.2, so you should use v3 branch of 3rd-party-library-bin too.

Glad to here it.

Thank you. I’ve tested with the latest curl.
Here is my log when used command "unzip -p myApk.apk | strings | grep “OpenSSL”.

Everything seems OK as I saw many lines printed Openssl version 1.0.2g ,except the last line:
SHA-256 part of OpenSSL 1.0.1p 9 JUL 2015
AES part of OpenSSL 1.0.1p 9 JUL 2015
I am a bit of confused. Is it normal ?

@degea9 Here is my output with sample project I made:

AQ, http://www.openssl.org/support/faq.html
OpenSSL default
SSLv3 part of OpenSSL 1.0.2g  1 Mar 2016
TLSv1 part of OpenSSL 1.0.2g  1 Mar 2016
nopqrsDTLSv1 part of OpenSSL 1.0.2g  1 Mar 2016
MD4 part of OpenSSL 1.0.2g  1 Mar 2016
MD5 part of OpenSSL 1.0.2g  1 Mar 2016
SHA1 part of OpenSSL 1.0.2g  1 Mar 2016
SHA-256 part of OpenSSL 1.0.2g  1 Mar 2016
DlSHA-512 part of OpenSSL 1.0.2g  1 Mar 2016
DES part of OpenSSL 1.0.2g  1 Mar 2016
libdes part of OpenSSL 1.0.2g  1 Mar 2016
Big Number part of OpenSSL 1.0.2g  1 Mar 2016
EC part of OpenSSL 1.0.2g  1 Mar 2016
(1RSA part of OpenSSL 1.0.2g  1 Mar 2016
Diffie-Hellman part of OpenSSL 1.0.2g  1 Mar 2016
Stack part of OpenSSL 1.0.2g  1 Mar 2016
lhash part of OpenSSL 1.0.2g  1 Mar 2016
EVP part of OpenSSL 1.0.2g  1 Mar 2016
ASN.1 part of OpenSSL 1.0.2g  1 Mar 2016
PEM part of OpenSSL 1.0.2g  1 Mar 2016
X.509 part of OpenSSL 1.0.2g  1 Mar 2016
AES part of OpenSSL 1.0.2g  1 Mar 2016
cU!
   }RC2 part of OpenSSL 1.0.2g  1 Mar 2016
IDEA part of OpenSSL 1.0.2g  1 Mar 2016
CAMELLIA part of OpenSSL 1.0.2g  1 Mar 2016
EDSA part of OpenSSL 1.0.2g  1 Mar 2016
ECDSA part of OpenSSL 1.0.2g  1 Mar 2016
ECDH part of OpenSSL 1.0.2g  1 Mar 2016
RAND part of OpenSSL 1.0.2g  1 Mar 2016
CONF part of OpenSSL 1.0.2g  1 Mar 2016
CONF_def part of OpenSSL 1.0.2g  1 Mar 2016
TXT_DB part of OpenSSL 1.0.2g  1 Mar 2016
+SHA part of OpenSSL 1.0.2g  1 Mar 2016
RIPE-MD160 part of OpenSSL 1.0.2g  1 Mar 2016
3RC4 part of OpenSSL 1.0.2g  1 Mar 2016
:Blowfish part of OpenSSL 1.0.2g  1 Mar 2016
\CAST part of OpenSSL 1.0.2g  1 Mar 2016

@degea9

I recommend you to do a clean rebuild with the updated libCURL.

Try to clean up the obj files and do a rebuild with the new libCURL libs.

my pleasure :smile:

Thanks @MehulDodiya30 so muck!
Just update ndk from r8b to r10d => Build successful ! @@

Thank you for your help!
I deleted proj.android\obj folder,but nothing changed.
Could you show me how to clean and rebuild,I am using Cocos Studio to build.

@degea9

Have You Replace The New lib ?
Totally Replace It first …

i Also Got That But the solution is …

Delete libcocos2d from and project .then again import after replacing new lib …
Delete obj From your Project also empty the Trash .
Clean the project Or Must be restart your eclipse .

and check your SDK is updated or not . if not then first update it from Android SDK Manager …

@xekoab

Warning Was Removed between 24 hour or less …
but Check The OpenSSL Version Before Upload …

Terminal - > $ unzip -p YourPoject.apk | strings | grep “OpenSSL”

GmsCore_OpenSSL
UI_OpenSSL
OpenSSLDie
DH_OpenSSL
OpenSSL_add_all_ciphers
OpenSSL_add_all_digests
DSA_OpenSSL
ECDSA_OpenSSL
ECDH_OpenSSL
OpenSSL was built without SSLv2 support
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.2g 1 Mar 2016
%s(%d): OpenSSL internal error, assertion failed: %s
OpenSSL DH Method
OpenSSL X9.42 DH method
OpenSSL PKCS#3 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 ECDH method
You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html
OpenSSL default
SSLv3 part of OpenSSL 1.0.2g 1 Mar 2016
TLSv1 part of OpenSSL 1.0.2g 1 Mar 2016
nopqrsDTLSv1 part of OpenSSL 1.0.2g 1 Mar 2016
MD4 part of OpenSSL 1.0.2g 1 Mar 2016
MD5 part of OpenSSL 1.0.2g 1 Mar 2016
SHA1 part of OpenSSL 1.0.2g 1 Mar 2016
SHA-256 part of OpenSSL 1.0.2g 1 Mar 2016
DlSHA-512 part of OpenSSL 1.0.2g 1 Mar 2016
DES part of OpenSSL 1.0.2g 1 Mar 2016
libdes part of OpenSSL 1.0.2g 1 Mar 2016
Big Number part of OpenSSL 1.0.2g 1 Mar 2016
EC part of OpenSSL 1.0.2g 1 Mar 2016
(1RSA part of OpenSSL 1.0.2g 1 Mar 2016
Diffie-Hellman part of OpenSSL 1.0.2g 1 Mar 2016
Stack part of OpenSSL 1.0.2g 1 Mar 2016
lhash part of OpenSSL 1.0.2g 1 Mar 2016
EVP part of OpenSSL 1.0.2g 1 Mar 2016
ASN.1 part of OpenSSL 1.0.2g 1 Mar 2016
PEM part of OpenSSL 1.0.2g 1 Mar 2016
X.509 part of OpenSSL 1.0.2g 1 Mar 2016
AES part of OpenSSL 1.0.2g 1 Mar 2016
cU!
}RC2 part of OpenSSL 1.0.2g 1 Mar 2016
IDEA part of OpenSSL 1.0.2g 1 Mar 2016
CAMELLIA part of OpenSSL 1.0.2g 1 Mar 2016
EDSA part of OpenSSL 1.0.2g 1 Mar 2016
ECDSA part of OpenSSL 1.0.2g 1 Mar 2016
ECDH part of OpenSSL 1.0.2g 1 Mar 2016
RAND part of OpenSSL 1.0.2g 1 Mar 2016
CONF part of OpenSSL 1.0.2g 1 Mar 2016
CONF_def part of OpenSSL 1.0.2g 1 Mar 2016
TXT_DB part of OpenSSL 1.0.2g 1 Mar 2016
+SHA part of OpenSSL 1.0.2g 1 Mar 2016
RIPE-MD160 part of OpenSSL 1.0.2g 1 Mar 2016
3RC4 part of OpenSSL 1.0.2g 1 Mar 2016
:Blowfish part of OpenSSL 1.0.2g 1 Mar 2016
\CAST part of OpenSSL 1.0.2g 1 Mar 2016

@zhangxm

I Have Fix . After Replacing New lib Folder it shows the more then one Errors .
Error Because of NDK 8e so i Updated to NDK 10e . Errors Successfully Solved …