From ea2d6526efe57ce795428ab51cacac1b3bc84cc5 Mon Sep 17 00:00:00 2001 From: Kristian Rastrup Date: Tue, 26 Mar 2019 10:42:38 +0100 Subject: Update PkixCertPath.cs The Equals method compares to the wrong list --- crypto/src/pkix/PkixCertPath.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/src/pkix/PkixCertPath.cs b/crypto/src/pkix/PkixCertPath.cs index 3c428f6fb..459c1612f 100644 --- a/crypto/src/pkix/PkixCertPath.cs +++ b/crypto/src/pkix/PkixCertPath.cs @@ -306,7 +306,7 @@ namespace Org.BouncyCastle.Pkix return false; IEnumerator e1 = thisCerts.GetEnumerator(); - IEnumerator e2 = thisCerts.GetEnumerator(); + IEnumerator e2 = otherCerts.GetEnumerator(); while (e1.MoveNext()) { -- cgit 1.5.1