This project's goal is to provide the precompiled binary of openssl
in OpenHarmony
- arm64-v8a
- armeabi-v7a
- x86_64
git clone https://github.com/ohos-rs/ohos-openssl.git
For the crate openssl-sys
, you can use it like be here:
# for arm64-v8a
export AARCH64_UNKNOWN_LINUX_OHOS_OPENSSL_DIR="/path/to/ohos-openssl/prelude/arm64-v8a/"
# for armeabi-v7a
export ARMV7_UNKNOWN_LINUX_OHOS_OPENSSL_DIR="/path/to/ohos-openssl/prelude/armeabi-v7a/"
# for x86_64
export X86_64_UNKNOWN_LINUX_OHOS_OPENSSL_DIR="/path/to/ohos-openssl/prelude/x86_64/"
Use branch 111
We can't guarantee that the code will run prior to rust-openssl's build.rs.