Details
-
Bug
-
Resolution: Fixed
-
Unknown
-
None
-
None
-
None
Description
The X509CertificateCollectionEqualityComparer.Equals fails if "X509CertificateCollection rhs" is null, it should be fixed.
Integration repro:
var clientSettings1 = new MongoClientSettings() |
{
|
SslSettings = new SslSettings |
{
|
ClientCertificates = new X509Certificate2[] { new X509Certificate2("path", "pass") } |
}
|
}; var client1 = new MongoClient(clientSettings1); |
var clientSettings2 = new MongoClientSettings() |
{
|
SslSettings = new SslSettings |
{
|
ClientCertificates = null |
}
|
};
|
var client2 = new MongoClient(clientSettings2); |