Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burningalchemist/openssl-android
OpenSSL for Android | Build scripts to compile static libraries
https://github.com/burningalchemist/openssl-android
Last synced: 6 days ago
JSON representation
OpenSSL for Android | Build scripts to compile static libraries
- Host: GitHub
- URL: https://github.com/burningalchemist/openssl-android
- Owner: burningalchemist
- Created: 2019-08-01T11:47:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-13T14:16:01.000Z (over 5 years ago)
- Last Synced: 2024-11-10T02:34:39.739Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenSSL for Android (x32/x64)
These scripts do all for you from downloading and extracting OpenSSL to
generating static libraries for arm64-v8a and armeabi-v7a (optionally, other platforms)Please check `build-all-arch.sh` and `setenv-android-mod.sh` for more details or adjustments.
---
By default, OpenSSL version is set to 1.0.2s, after which the API was significantly changed
and became incompatible with older projects.Also, pay attention to the byte order flag (Big Endian/Little Endian). Here it is set to `-DL_ENDIAN`.
If misconfigured, might create issues, e.g. `error:04091068:rsa routines:INT_RSA_VERIFY:bad signature`
or worse. In my particular case, the flag was initially set to `-DB_ENDIAN`, so secure web requests
with `libcurl` were broken. It might be different in your situation.With minor changes it's possible to produce shared libraries as well.
Given that, open terminal and run:
```sh
cd
chmod 755 ./build-all-arch.sh
chmod 755 ./setenv-android-mod.sh
export ANDROID_NDK_ROOT=/your/path/to/_android/android-ndk-r10e
./build-all-arch.sh
```