diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-25 18:55:36 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-25 18:55:36 +0700 |
commit | 427646f20a1f0cde2e3d7312f7e116480b0bc777 (patch) | |
tree | ca3090694d0a1155ff713ca3904d17549741fd99 /crypto/src/x509/X509CertificatePair.cs | |
parent | Add ISAP to the master branch (diff) | |
download | BouncyCastle.NET-ed25519-427646f20a1f0cde2e3d7312f7e116480b0bc777.tar.xz |
Cleanup Platform.Equals
Diffstat (limited to '')
-rw-r--r-- | crypto/src/x509/X509CertificatePair.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/x509/X509CertificatePair.cs b/crypto/src/x509/X509CertificatePair.cs index fbeba4dc6..866bb4539 100644 --- a/crypto/src/x509/X509CertificatePair.cs +++ b/crypto/src/x509/X509CertificatePair.cs @@ -101,8 +101,8 @@ namespace Org.BouncyCastle.X509 if (other == null) return false; - return Platform.Equals(this.forward, other.forward) - && Platform.Equals(this.reverse, other.reverse); + return Objects.Equals(this.forward, other.forward) + && Objects.Equals(this.reverse, other.reverse); } public override int GetHashCode() |