diff options
author | Kristian Rastrup <kristian@rastrup.net> | 2019-03-26 10:42:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 10:42:38 +0100 |
commit | ea2d6526efe57ce795428ab51cacac1b3bc84cc5 (patch) | |
tree | 763e6d6e05f054d6d52740a90f0afdc5d2b3e2aa /crypto/src/pkix/PkixCertPath.cs | |
parent | DTLS: Guard against epoch wrapping (diff) | |
download | BouncyCastle.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.cs | 2 |
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()) { |