From 427646f20a1f0cde2e3d7312f7e116480b0bc777 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 25 Jan 2023 18:55:36 +0700 Subject: Cleanup Platform.Equals --- crypto/src/util/io/pem/PemHeader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/src/util') 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) -- cgit 1.4.1