1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-24 18:41:06 +03:00

Fixes for bouncycastle tests

This commit is contained in:
Yuri Schimke
2020-01-20 22:47:13 +00:00
parent bf4c70a0bc
commit 005c39b592
3 changed files with 16 additions and 3 deletions

View File

@@ -193,6 +193,8 @@ open class PlatformRule @JvmOverloads constructor(
fun isJdk8Alpn() = getPlatformSystemProperty() == JDK8_ALPN_PROPERTY
fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
fun hasHttp2Support() = !isJdk8()
fun assumeConscrypt() {