summary refs log tree commit diff
diff options
context:
space:
mode:
-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())
 			{