Update ios/Widgets/Shared/SwiftTCPClient.swift

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Marcos Rodriguez Vélez 2024-11-18 02:18:42 -04:00 committed by GitHub
parent 6d4714688c
commit 282bedef2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,9 +151,6 @@ class SwiftTCPClient {
private func createTLSOptions() -> NWProtocolTLS.Options {
let tlsOptions = NWProtocolTLS.Options()
sec_protocol_options_set_verify_block(tlsOptions.securityProtocolOptions, { _, _, completion in
completion(true)
}, DispatchQueue.global(qos: .background))
return tlsOptions
}
}