diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-02-23 19:32:21 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-02-23 19:32:21 +0700 |
commit | 0328a9c2006b894d70c943a1c59dd366bec7e07a (patch) | |
tree | 976548f70aac81dfb5810bffe651d85dcfc3528e /crypto/src | |
parent | Port of WNaf precomp optimization from Java (diff) | |
download | BouncyCastle.NET-ed25519-0328a9c2006b894d70c943a1c59dd366bec7e07a.tar.xz |
Fix parsing of implicit tagged object
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/asn1/cms/EncryptedData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/cms/EncryptedData.cs b/crypto/src/asn1/cms/EncryptedData.cs index 5b8378282..cb109a640 100644 --- a/crypto/src/asn1/cms/EncryptedData.cs +++ b/crypto/src/asn1/cms/EncryptedData.cs @@ -52,8 +52,8 @@ namespace Org.BouncyCastle.Asn1.Cms if (seq.Count > 2) { - this.unprotectedAttrs = Asn1Set.GetInstance(seq[2]); - } + this.unprotectedAttrs = Asn1Set.GetInstance((Asn1TaggedObject)seq[2], false); + } } public virtual DerInteger Version |