sudhiremmadi commented on code in PR #3303: URL: https://github.com/apache/arrow-adbc/pull/3303#discussion_r2291654478
########## csharp/src/Drivers/Apache/Hive2/HiveServer2StandardConnection.cs: ########## @@ -112,19 +112,15 @@ protected override TTransport CreateTransport() TTransport baseTransport; if (TlsOptions.IsTlsEnabled) { - X509Certificate2? trustedCert = !string.IsNullOrEmpty(TlsOptions.TrustedCertificatePath) - ? new X509Certificate2(TlsOptions.TrustedCertificatePath!) - : null; - RemoteCertificateValidationCallback certValidator = (sender, cert, chain, errors) => HiveServer2TlsImpl.ValidateCertificate(cert, errors, TlsOptions); if (IPAddress.TryParse(hostName!, out var ipAddress)) { - baseTransport = new TTlsSocketTransport(ipAddress, portValue, config: new(), 0, trustedCert, certValidator); + baseTransport = new TTlsSocketTransport(ipAddress, portValue, config: new(), 0, null, certValidator); Review Comment: ImpalaStandardConnection.cs already has this change -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org