summary refs log tree commit diff
path: root/crypto/src/util
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-01-25 18:55:36 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-01-25 18:55:36 +0700
commit427646f20a1f0cde2e3d7312f7e116480b0bc777 (patch)
treeca3090694d0a1155ff713ca3904d17549741fd99 /crypto/src/util
parentAdd ISAP to the master branch (diff)
downloadBouncyCastle.NET-ed25519-427646f20a1f0cde2e3d7312f7e116480b0bc777.tar.xz
Cleanup Platform.Equals
Diffstat (limited to 'crypto/src/util')
-rw-r--r--crypto/src/util/io/pem/PemHeader.cs4
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)