This Magisk Module contains the Openssl 3.5.6 for Android 


ASUS_I006D:/ $ openssl --version                                                                                                        
OpenSSL 3.5.6 7 Apr 2026 (Library: OpenSSL 3.5.6 7 Apr 2026)
ASUS_I006D:/ $ 


The openssl binary is dynamically linked but only for the standard Android OS libraries:

ASUS_I006D:/ $ ldd /system/bin/openssl
	linux-vdso.so.1 => [vdso] (0x7319fa8000)
	libc.so => /apex/com.android.runtime/lib64/bionic/libc.so (0x73158da000)
	libdl.so => /apex/com.android.runtime/lib64/bionic/libdl.so (0x7315a0b000)
ASUS_I006D:/ $ 


The module contains also the openssl libraries. To not overwrite the ssl libraries from the OS the libraries from this module are in the directory 

/system/usr/lib

e.g:

ASUS_I006D:/ $ ls -l /system/usr/lib
total 24224
drwxr-xr-x 2 root root     3452 2026-04-16 19:12 ossl-modules
lrwxrwxrwx 1 root root       11 2026-04-16 19:12 libssl.so -> libssl.so.3
lrwxrwxrwx 1 root root       14 2026-04-16 19:12 libcrypto.so -> libcrypto.so.3
drwxr-xr-x 3 root root     3452 2026-04-16 19:12 cmake
-rw-r--r-- 1 root root 12679378 2026-04-16 19:12 libcrypto.a
-rw-r--r-- 1 root root  1644592 2026-04-16 19:12 libssl.so.3
drwxr-xr-x 2 root root     3452 2026-04-16 19:12 pkgconfig
-rw-r--r-- 1 root root  7961952 2026-04-16 19:12 libcrypto.so.3
-rw-r--r-- 1 root root  2476620 2026-04-16 19:12 libssl.a
drwxr-xr-x 2 root root     3452 2026-04-16 19:12 engines-3
ASUS_I006D:/ $ 


Note that the openssl binary was built with the static libraries and does not need the dynamic libraries.

The patches from Termux for openssl (https://github.com/termux/termux-packages/tree/master/packages/openssl) as of 15.04.2026 are applied.

The configure options used are documented in the file "source/myconfigure" in the Magisk module

The result from "make test" are documented in the file "source/openssl_testsuite.log" in the Magisk module.
AFAIK the failed tests are expected on Android and not really an issue.


The OpenSSL binaries and libraries from this Magisk Module were compiled on an ASUS Zenfone 8 with the clang19 toolchain for android 

see 

  http://bnsmb.de/My_HowTos_for_Android.html#How_to_install_a_Toolchain_for_clang_on_phones_without_root_access

or 

  https://xdaforums.com/t/guide-how-to-install-a-toolchain-for-clang-on-phones-without-root-access.4710235/


The clang19 toolchain is also available on github: 

  https://github.com/bnsmb/clang19_toolchain_for_android/


History
  12.05.2025 3.5.0-v1.0.0 /bs
    initial release of the Magisk Module
 
  02.10.2025 3.5.4-v1.0.0 /bs
    updated OpenSSL to version 3.5.4

  02.02.2026 3.5.5-v1.0.0 /bs
    updated OpenSSL to version 3.5.5

  16.04.2026 3.5.6-v1.0.0 /bs
   updated OpenSSL to version 3.5.6

