summary refs log tree commit diff
path: root/crypto/src/asn1/cms/KemRecipientInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cms/KemRecipientInfo.cs')
-rw-r--r--crypto/src/asn1/cms/KemRecipientInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/KemRecipientInfo.cs b/crypto/src/asn1/cms/KemRecipientInfo.cs
index ccfae719c..8d650588a 100644
--- a/crypto/src/asn1/cms/KemRecipientInfo.cs
+++ b/crypto/src/asn1/cms/KemRecipientInfo.cs
@@ -72,7 +72,7 @@ namespace Org.BouncyCastle.Asn1.Cms
             m_kemct = Asn1OctetString.GetInstance(seq[pos++]);
             m_kdf = AlgorithmIdentifier.GetInstance(seq[pos++]);
             m_kekLength = DerInteger.GetInstance(seq[pos++]);
-            m_ukm = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, Asn1OctetString.GetInstance);
+            m_ukm = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, Asn1OctetString.GetTagged);
             m_wrap = AlgorithmIdentifier.GetInstance(seq[pos++]);
             m_encryptedKey = Asn1OctetString.GetInstance(seq[pos++]);