Skip to content

Commit

Permalink
Merge branch 'release/v1.2.2' into public-main
Browse files Browse the repository at this point in the history
  • Loading branch information
KUGDev committed Oct 31, 2022
2 parents dd9fdf8 + a608126 commit 151cc98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/eu/ibagroup/r2z/UnsafeOkHttpClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ object UnsafeOkHttpClient {
)

// Install the all-trusting trust manager
val sslContext = SSLContext.getInstance("SSL")
val sslContext = SSLContext.getInstance("TLSv1.2")
sslContext.init(null, trustAllCerts, SecureRandom())

// Create an ssl socket factory with our all-trusting manager
Expand Down
2 changes: 1 addition & 1 deletion src/test/kotlin/eu/ibagroup/r2z/BaseTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ open class BaseTest {
}
}
)
val sslContext: SSLContext = SSLContext.getInstance("SSL")
val sslContext: SSLContext = SSLContext.getInstance("TLSv1.2")
sslContext.init(null, trustAllCerts, SecureRandom())

val sslSocketFactory: SSLSocketFactory = sslContext.getSocketFactory()
Expand Down

0 comments on commit 151cc98

Please sign in to comment.