summary refs log tree commit diff
path: root/crypto/src/pkix/PkixCertPath.cs
diff options
context:
space:
mode:
authorKristian Rastrup <kristian@rastrup.net>2019-03-26 10:42:38 +0100
committerGitHub <noreply@github.com>2019-03-26 10:42:38 +0100
commitea2d6526efe57ce795428ab51cacac1b3bc84cc5 (patch)
tree763e6d6e05f054d6d52740a90f0afdc5d2b3e2aa /crypto/src/pkix/PkixCertPath.cs
parentDTLS: Guard against epoch wrapping (diff)
downloadBouncyCastle.NET-ed25519-ea2d6526efe57ce795428ab51cacac1b3bc84cc5.tar.xz
Update PkixCertPath.cs
The Equals method compares to the wrong list
Diffstat (limited to '')
-rw-r--r--crypto/src/pkix/PkixCertPath.cs2
1 files changed, 1 insertions, 1 deletions
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())
 			{