Skip to content

Commit 556c64c

Browse files
committed
Update cert4android
Signed-off-by: Sunik Kupfer <kupfer@bitfire.at>
1 parent b759a31 commit 556c64c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/src/main/java/at/bitfire/icsdroid/AppHttpClient.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package at.bitfire.icsdroid
66

77
import android.content.Context
88
import at.bitfire.cert4android.CustomCertManager
9+
import at.bitfire.cert4android.CustomCertStore
910
import at.bitfire.icsdroid.ui.ForegroundTracker
1011
import dagger.assisted.Assisted
1112
import dagger.assisted.AssistedFactory
@@ -57,7 +58,8 @@ class AppHttpClient @AssistedInject constructor(
5758
// CustomCertManager is Closeable, but HttpClient will live as long as the application is in memory,
5859
// so we don't need to close it
5960
private val certManager = CustomCertManager(
60-
context = context,
61+
certStore = CustomCertStore.getInstance(context),
62+
trustSystemCerts = true,
6163
appInForeground = ForegroundTracker.inForeground
6264
)
6365

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ androidx-test-junit = "1.3.0"
1212
androidx-test-rules = "1.7.0"
1313
androidx-test-runner = "1.7.0"
1414
androidx-work = "2.11.0"
15-
bitfire-cert4android = "41009d4"
15+
bitfire-cert4android = "b6b7ef3f10"
1616
bitfire-synctools = "7aa709f6b6"
1717
compose-dialogs = "1.3.0"
1818
compose-material = "1.7.8"

0 commit comments

Comments
 (0)