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/X509Certificate.cs | |
parent | Add ISAP to the master branch (diff) | |
download | BouncyCastle.NET-ed25519-427646f20a1f0cde2e3d7312f7e116480b0bc777.tar.xz |
Cleanup Platform.Equals
Diffstat (limited to 'crypto/src/x509/X509Certificate.cs')
-rw-r--r-- | crypto/src/x509/X509Certificate.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/x509/X509Certificate.cs b/crypto/src/x509/X509Certificate.cs index b6749d505..db6966a0f 100644 --- a/crypto/src/x509/X509Certificate.cs +++ b/crypto/src/x509/X509Certificate.cs @@ -731,7 +731,7 @@ namespace Org.BouncyCastle.X509 Asn1Encodable p2 = id2.Parameters; if ((p1 == null) == (p2 == null)) - return Platform.Equals(p1, p2); + return Objects.Equals(p1, p2); // Exactly one of p1, p2 is null at this point return p1 == null |