summary refs log tree commit diff
path: root/crypto/src/asn1/crmf
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-07-08 17:05:55 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-07-08 17:05:55 +0700
commit4206023cd1ba392562ecc3d9b3f37f7e1b456d76 (patch)
tree12b659481c05c9e93ff7dfd863e2b996cf793b52 /crypto/src/asn1/crmf
parentCheck key sizes strictly (diff)
downloadBouncyCastle.NET-ed25519-4206023cd1ba392562ecc3d9b3f37f7e1b456d76.tar.xz
ASN.1 updates from bc-java
Diffstat (limited to 'crypto/src/asn1/crmf')
-rw-r--r--crypto/src/asn1/crmf/PopoPrivKey.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/crmf/PopoPrivKey.cs b/crypto/src/asn1/crmf/PopoPrivKey.cs
index 2b38cb109..95a4484de 100644
--- a/crypto/src/asn1/crmf/PopoPrivKey.cs
+++ b/crypto/src/asn1/crmf/PopoPrivKey.cs
@@ -44,7 +44,7 @@ namespace Org.BouncyCastle.Asn1.Crmf
 
         public static PopoPrivKey GetInstance(Asn1TaggedObject tagged, bool isExplicit)
         {
-            return new PopoPrivKey(Asn1TaggedObject.GetInstance(tagged.GetObject()));
+            return new PopoPrivKey(Asn1TaggedObject.GetInstance(tagged, true));
         }
 
         public PopoPrivKey(SubsequentMessage msg)