summary refs log tree commit diff
path: root/crypto/src/x509/X509CrlEntry.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-02-21 18:06:14 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-02-21 18:06:14 +0700
commit9f562ae2423c550b95b3e00e6bcbeb6616b2a034 (patch)
tree2ae4742e2d0793d7e94c2bd299651857c7c6d862 /crypto/src/x509/X509CrlEntry.cs
parentFix handling of reason codes (diff)
downloadBouncyCastle.NET-ed25519-9f562ae2423c550b95b3e00e6bcbeb6616b2a034.tar.xz
Refactoring
Diffstat (limited to 'crypto/src/x509/X509CrlEntry.cs')
-rw-r--r--crypto/src/x509/X509CrlEntry.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/x509/X509CrlEntry.cs b/crypto/src/x509/X509CrlEntry.cs
index 9e3608c18..9660a7099 100644
--- a/crypto/src/x509/X509CrlEntry.cs
+++ b/crypto/src/x509/X509CrlEntry.cs
@@ -188,7 +188,7 @@ namespace Org.BouncyCastle.X509
 
 						if (ext.Value != null)
 						{
-							Asn1Object obj = Asn1Object.FromByteArray(ext.Value.GetOctets());
+                            Asn1Object obj = X509ExtensionUtilities.FromExtensionValue(ext.Value);
 
 							buf.Append("                       critical(")
 								.Append(ext.IsCritical)