Skip to content

Commit 942c480

Browse files
committed
remove unused class
1 parent dfea510 commit 942c480

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

rtmp/src/main/java/com/pedro/rtmp/utils/socket/TcpSocket.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,8 @@ import com.pedro.common.toUInt16
2222
import com.pedro.common.toUInt24
2323
import com.pedro.common.toUInt32
2424
import com.pedro.common.toUInt32LittleEndian
25-
import java.security.cert.X509Certificate
2625
import javax.net.ssl.TrustManager
27-
import javax.net.ssl.X509TrustManager
2826

29-
class AcceptAllCertificates: X509TrustManager {
30-
override fun checkClientTrusted(chain: Array<out X509Certificate>?, authType: String?) {}
31-
override fun checkServerTrusted(chain: Array<out X509Certificate>?, authType: String?) {}
32-
override fun getAcceptedIssuers(): Array<X509Certificate>? = null
33-
}
3427
/**
3528
* Created by pedro on 5/4/22.
3629
*/

0 commit comments

Comments
 (0)