THRIFT-5832 Drop net6 support and add net9 instead
Client: netstd
Patch: Jens Geyer
diff --git a/test/netstd/Client/TestClient.cs b/test/netstd/Client/TestClient.cs
index 7486712..26bd120 100644
--- a/test/netstd/Client/TestClient.cs
+++ b/test/netstd/Client/TestClient.cs
@@ -225,7 +225,8 @@
throw new FileNotFoundException($"Cannot find file: {clientCertName}");
}
- var cert = new X509Certificate2(existingPath, "thrift");
+ //var cert = new X509Certificate2(existingPath, "thrift");
+ var cert = X509CertificateLoader.LoadPkcs12FromFile(existingPath, "thrift");
return cert;
}
@@ -444,7 +445,7 @@
public static string BytesToHex(byte[] data)
{
- return BitConverter.ToString(data).Replace("-", string.Empty);
+ return Convert.ToHexString(data);
}