summary refs log tree commit diff
path: root/crypto/src/asn1/x509/DistributionPointName.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/x509/DistributionPointName.cs')
-rw-r--r--crypto/src/asn1/x509/DistributionPointName.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/x509/DistributionPointName.cs b/crypto/src/asn1/x509/DistributionPointName.cs
index bdb7219be..6b12d5b9a 100644
--- a/crypto/src/asn1/x509/DistributionPointName.cs
+++ b/crypto/src/asn1/x509/DistributionPointName.cs
@@ -28,11 +28,11 @@ namespace Org.BouncyCastle.Asn1.X509
 
 		public static DistributionPointName GetInstance(Asn1TaggedObject obj, bool explicitly)
         {
-            return GetInstance(Asn1TaggedObject.GetInstance(obj, true));
+            return Asn1Utilities.GetInstanceFromChoice(obj, explicitly, GetInstance);
         }
 
-        private readonly Asn1Encodable m_name;
         private readonly int m_type;
+        private readonly Asn1Encodable m_name;
 
         public DistributionPointName(GeneralNames name)
             : this(FullName, name)