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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user