From c0bf600ca228f47b15472d24edd9f0b2d931f18b Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 12 Nov 2021 01:37:42 +0700 Subject: Add new Equals method --- crypto/src/asn1/Asn1Set.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/asn1/Asn1Set.cs') diff --git a/crypto/src/asn1/Asn1Set.cs b/crypto/src/asn1/Asn1Set.cs index 6193e8178..45febabaf 100644 --- a/crypto/src/asn1/Asn1Set.cs +++ b/crypto/src/asn1/Asn1Set.cs @@ -259,7 +259,7 @@ namespace Org.BouncyCastle.Asn1 Asn1Object o1 = this.elements[i].ToAsn1Object(); Asn1Object o2 = that.elements[i].ToAsn1Object(); - if (o1 != o2 && !o1.CallAsn1Equals(o2)) + if (!o1.Equals(o2)) return false; } -- cgit 1.4.1