JNI fixes.

This commit is contained in:
Koen J
2025-11-26 13:45:01 +01:00
parent 4c4b322682
commit 50cd0723c9
9 changed files with 6 additions and 6 deletions
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea10d3c5562c9f449a4e89e9c3dfcf881ed79a952f3409bc005bcc62c2cf4b81
size 65512557
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22c06ca0d1a5808b2fc0a12227d5915b3126bc0b9b1305cf6bab855f2ec6fcbb
size 36133152
@@ -436,9 +436,9 @@ class StateApp {
try {
val caFile = AppCaUpdater.ensureCaBundle(context)
Libcurl.setDefaultCAPath(caFile.absolutePath)
Logger.i(TAG, "Libcurl initialized")
} catch (t: Throwable) {
val fallback = File(context.noBackupFilesDir, "curl-ca-bundle.pem")
if (fallback.exists()) Libcurl.setDefaultCAPath(fallback.absolutePath)
Logger.e(TAG, "Failed to initialize Libcurl", t);
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.