Reuse the Linux OpenSSL TlsChannel implementation (platform guard widened to __linux__); the trust anchor lives in the app-private filesDir, injected via TlsSetAnchorDir in nativeInit before the connection thread starts. COMMAND_TLS_ENABLE/DISABLE save/remove the anchor, hot-reload and reconnect only when the transport actually changes, so the master menu takes effect within seconds without restarting the app. Login reports RES_TLS, refreshed before each re-login. The reconnect flag is consumed before the drop check and cleared before reconnecting so a switch racing a disconnect cannot cause an extra reconnect/login cycle. Cross-compile OpenSSL 3.5.0 per ABI with build_openssl_android.sh (NDK clang + MSYS2 perl/make), integrated into build_android_libs.ps1 (-OpenSslOnly). Static libs and per-ABI headers are tracked like the existing libzstd/libsign prebuilts; --exclude-libs keeps OpenSSL symbols private to libyama.so, isolated from the Java-layer Conscrypt. Co-Authored-By: Qoder <noreply@qoder.com>
30 lines
604 B
Plaintext
30 lines
604 B
Plaintext
# Build output
|
|
build/
|
|
app/build/
|
|
|
|
# Gradle cache and generated configs
|
|
.gradle/
|
|
gradle/gradle-daemon-jvm.properties
|
|
|
|
# Local config (contains SDK path, machine-specific)
|
|
local.properties
|
|
|
|
# Android Studio project files
|
|
.idea/
|
|
*.iml
|
|
|
|
# Signing config
|
|
*.jks
|
|
*.keystore
|
|
|
|
# Force-track prebuilt static libs (overrides root .gitignore *.a rule)
|
|
!app/src/main/cpp/lib/**/*.a
|
|
|
|
# OpenSSL cross-compile scratch (source tree / tarball / build dirs / logs).
|
|
# The produced libs + headers under app/src/main/cpp/lib/<ABI>/ are tracked.
|
|
openssl-*/
|
|
openssl-*.tar.gz
|
|
openssl_build/
|
|
openssl_install/
|
|
openssl_build_*.log
|