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.

  1. go openssl , android , fetch setenv-android.sh
  2. ensure android_ndk_root set
  3. ensure android_sdk_root set
  4. open setenv-android.sh, , ensure _android_ndk, _android_eabi , _android_api suit taste
  5. 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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -