mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-27 16:27:48 -05:00
run checkSessionResumeShort only on Build.VERSION.SDK_INT >= 26
Let's Encrypt no longer works on Android older than SDK 26 #2102 https://letsencrypt.org/2020/11/06/own-two-feet.html
This commit is contained in:
@@ -100,6 +100,10 @@ internal class HttpManagerInstrumentationTest {
|
||||
|
||||
@Test
|
||||
fun checkSessionResumeShort() = runSuspend {
|
||||
assumeTrue(
|
||||
"tlsprivacy.nervuri.net uses Let's Encrypt, which does not work on old Androids",
|
||||
Build.VERSION.SDK_INT >= 26
|
||||
)
|
||||
val httpManager = HttpManager(userAgent, null)
|
||||
val mirror = Mirror("https://tlsprivacy.nervuri.net")
|
||||
val indexFile: IndexFile = getIndexFile("/json/v1")
|
||||
|
||||
Reference in New Issue
Block a user