summary refs log tree commit diff
path: root/crypto/src/cms/SignerId.cs
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/cms/SignerId.cs
parentAdd ISAP to the master branch (diff)
downloadBouncyCastle.NET-ed25519-427646f20a1f0cde2e3d7312f7e116480b0bc777.tar.xz
Cleanup Platform.Equals
Diffstat (limited to 'crypto/src/cms/SignerId.cs')
-rw-r--r--crypto/src/cms/SignerId.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/SignerId.cs b/crypto/src/cms/SignerId.cs
index baac9369b..8023ca280 100644
--- a/crypto/src/cms/SignerId.cs
+++ b/crypto/src/cms/SignerId.cs
@@ -44,7 +44,7 @@ namespace Org.BouncyCastle.Cms
 				return false;
 
 			return Arrays.AreEqual(SubjectKeyIdentifier, id.SubjectKeyIdentifier)
-				&& Platform.Equals(SerialNumber, id.SerialNumber)
+				&& Objects.Equals(SerialNumber, id.SerialNumber)
 				&& IssuersMatch(Issuer, id.Issuer);
         }
     }