Do openssl-1.0.1g has android platform support? -
because of heartbleed issue in versions of openssl, need update openssl version openssl-1.0.1g. has support android platform? if yes, can suggest me building procedures? couldn't compile source android platform.
any kind suggestion highly appreciated.
note: use openssl android-ndk
do openssl-1.0.1g has android platform support?
yes.
- go openssl , android , fetch
setenv-android.sh - ensure
android_ndk_rootset - ensure
android_sdk_rootset - open
setenv-android.sh, , ensure_android_ndk,_android_eabi,_android_apisuit taste run following commands (note leading dot when running
setenv-android.sh)$ . ./setenv-android.sh$ cd openssl-1.0.1g/$ perl -pi -e 's/install: install_docs install_sw/install: install_docs install_sw/g' makefile.org$ ./config shared -no-ssl2 -no-ssl3 -no-comp -no-hw -no-engine --openssldir=/usr/local/ssl/$android_api$ make all$ sudo -e make install cc=$android_toolchain/arm-linux-androideabi-gcc ranlib=$android_toolchain/arm-linux-androideabi-ranlib
after install, android openssl located in, example, /usr/local/ssl/android-18.
any kind suggestion highly appreciated.
note: android's zygote linux/unix init. processes inherit it. problem is, zygote loads openssl , down level version. have create wrapper shared object statically links openssl. program call wrapper shared object avoid already-mapped-in , down level version of openssl.
Comments
Post a Comment