summary refs log tree commit diff
path: root/crypto/src/asn1/DERExternal.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DERExternal.cs')
-rw-r--r--crypto/src/asn1/DERExternal.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DERExternal.cs b/crypto/src/asn1/DERExternal.cs
index edd517849..d6255bb93 100644
--- a/crypto/src/asn1/DERExternal.cs
+++ b/crypto/src/asn1/DERExternal.cs
@@ -267,7 +267,7 @@ namespace Org.BouncyCastle.Asn1
             switch (tagNo)
             {
             case 0:
-                return encoding.GetExplicitBaseObject();
+                return encoding.GetExplicitBaseObject().ToAsn1Object();
             case 1:
                 return Asn1OctetString.GetInstance(encoding, false);
             case 2: