summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/cms/CMSSignedHelper.cs2
-rw-r--r--crypto/src/pkix/PkixBuilderParameters.cs2
-rw-r--r--crypto/src/pkix/PkixCertPath.cs2
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/cms/CMSSignedHelper.cs b/crypto/src/cms/CMSSignedHelper.cs
index 3fb3cee26..6d49a5513 100644
--- a/crypto/src/cms/CMSSignedHelper.cs
+++ b/crypto/src/cms/CMSSignedHelper.cs
@@ -84,7 +84,7 @@ namespace Org.BouncyCastle.Cms
 
 			encryptionAlgs.Add(X9ObjectIdentifiers.IdDsa.Id, "DSA");
 			encryptionAlgs.Add(PkcsObjectIdentifiers.RsaEncryption.Id, "RSA");
-			encryptionAlgs.Add(TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm, "RSA");
+			encryptionAlgs.Add(TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm.Id, "RSA");
 			encryptionAlgs.Add(X509ObjectIdentifiers.IdEARsa.Id, "RSA");
 			encryptionAlgs.Add(CmsSignedGenerator.EncryptionRsaPss, "RSAandMGF1");
 			encryptionAlgs.Add(CryptoProObjectIdentifiers.GostR3410x94.Id, "GOST3410");
diff --git a/crypto/src/pkix/PkixBuilderParameters.cs b/crypto/src/pkix/PkixBuilderParameters.cs
index 32fc04360..9b8fb3dc3 100644
--- a/crypto/src/pkix/PkixBuilderParameters.cs
+++ b/crypto/src/pkix/PkixBuilderParameters.cs
@@ -84,7 +84,7 @@ namespace Org.BouncyCastle.Pkix
 		{
 			if (excludedCerts == null)
 			{
-				excludedCerts = new HashSet();
+				this.excludedCerts = new HashSet();
 			}
 			else
 			{
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())
 			{