summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorArman Gungor <agungor@zoho.com>2023-05-03 10:24:37 -0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-05-04 11:44:18 +0700
commit0f18b4feadf42627c6043a49331e31efc43c13bb (patch)
tree33bd2b87e43c139d61d3175aeb2b8036b2a04236 /crypto/src
parentRefactoring in Sparkle (diff)
downloadBouncyCastle.NET-ed25519-0f18b4feadf42627c6043a49331e31efc43c13bb.tar.xz
When there is reference equality, Equals() should return true.
Diffstat (limited to 'crypto/src')
-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 8023ca280..3d38a58dc 100644
--- a/crypto/src/cms/SignerId.cs
+++ b/crypto/src/cms/SignerId.cs
@@ -36,7 +36,7 @@ namespace Org.BouncyCastle.Cms
             object obj)
         {
 			if (obj == this)
-				return false;
+				return true;
 
 			SignerID id = obj as SignerID;