diff options
author | Arman Gungor <agungor@zoho.com> | 2023-05-03 10:24:37 -0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-05-04 11:44:18 +0700 |
commit | 0f18b4feadf42627c6043a49331e31efc43c13bb (patch) | |
tree | 33bd2b87e43c139d61d3175aeb2b8036b2a04236 /crypto/src/cms/SignerId.cs | |
parent | Refactoring in Sparkle (diff) | |
download | BouncyCastle.NET-ed25519-0f18b4feadf42627c6043a49331e31efc43c13bb.tar.xz |
When there is reference equality, Equals() should return true.
Diffstat (limited to '')
-rw-r--r-- | crypto/src/cms/SignerId.cs | 2 |
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; |