summary refs log tree commit diff
path: root/crypto/src/asn1/DERExternal.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-08 11:31:21 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-08 11:31:21 +0700
commit0784b900d79a7792348dc1bababa0e653e0db156 (patch)
tree2dbe6d11783737828931c0bd247c0135cf64482b /crypto/src/asn1/DERExternal.cs
parentUtility methods and guards (diff)
downloadBouncyCastle.NET-ed25519-0784b900d79a7792348dc1bababa0e653e0db156.tar.xz
Change return type of GetExplicitBaseObject
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: