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/util | |
parent | Add ISAP to the master branch (diff) | |
download | BouncyCastle.NET-ed25519-427646f20a1f0cde2e3d7312f7e116480b0bc777.tar.xz |
Cleanup Platform.Equals
Diffstat (limited to 'crypto/src/util')
-rw-r--r-- | crypto/src/util/io/pem/PemHeader.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/util/io/pem/PemHeader.cs b/crypto/src/util/io/pem/PemHeader.cs index c6236f534..b9bf10e34 100644 --- a/crypto/src/util/io/pem/PemHeader.cs +++ b/crypto/src/util/io/pem/PemHeader.cs @@ -38,8 +38,8 @@ namespace Org.BouncyCastle.Utilities.IO.Pem PemHeader other = (PemHeader)obj; - return Platform.Equals(this.name, other.name) - && Platform.Equals(this.val, other.val); + return Objects.Equals(this.name, other.name) + && Objects.Equals(this.val, other.val); } private int GetHashCode(string s) |