summary refs log tree commit diff
path: root/crypto/src/pkix/Rfc3280CertPathUtilities.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/pkix/Rfc3280CertPathUtilities.cs')
-rw-r--r--crypto/src/pkix/Rfc3280CertPathUtilities.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/pkix/Rfc3280CertPathUtilities.cs b/crypto/src/pkix/Rfc3280CertPathUtilities.cs
index f1a85eb09..5a13ccd1d 100644
--- a/crypto/src/pkix/Rfc3280CertPathUtilities.cs
+++ b/crypto/src/pkix/Rfc3280CertPathUtilities.cs
@@ -78,7 +78,7 @@ namespace Org.BouncyCastle.Pkix
 					DistributionPointName dpName = IssuingDistributionPoint.GetInstance(idp).DistributionPoint;
 					var names = new List<GeneralName>();
 
-					if (dpName.PointType == DistributionPointName.FullName)
+					if (dpName.Type == DistributionPointName.FullName)
 					{
 						GeneralName[] genNames = GeneralNames.GetInstance(dpName.Name).GetNames();
 						for (int j = 0; j < genNames.Length; j++)
@@ -86,7 +86,7 @@ namespace Org.BouncyCastle.Pkix
 							names.Add(genNames[j]);
 						}
 					}
-					if (dpName.PointType == DistributionPointName.NameRelativeToCrlIssuer)
+					if (dpName.Type == DistributionPointName.NameRelativeToCrlIssuer)
 					{
 						var seq = Asn1Sequence.GetInstance(crl.IssuerDN.ToAsn1Object());
 
@@ -106,11 +106,11 @@ namespace Org.BouncyCastle.Pkix
 					{
 						dpName = dp.DistributionPointName;
 						GeneralName[] genNames = null;
-						if (dpName.PointType == DistributionPointName.FullName)
+						if (dpName.Type == DistributionPointName.FullName)
 						{
 							genNames = GeneralNames.GetInstance(dpName.Name).GetNames();
 						}
-						if (dpName.PointType == DistributionPointName.NameRelativeToCrlIssuer)
+						if (dpName.Type == DistributionPointName.NameRelativeToCrlIssuer)
 						{
 							if (dp.CrlIssuer != null)
 							{