diff options
Diffstat (limited to 'crypto/src/asn1/cms/ecc/MQVuserKeyingMaterial.cs')
-rw-r--r-- | crypto/src/asn1/cms/ecc/MQVuserKeyingMaterial.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/ecc/MQVuserKeyingMaterial.cs b/crypto/src/asn1/cms/ecc/MQVuserKeyingMaterial.cs index 68a6367e5..1cb4f4ff5 100644 --- a/crypto/src/asn1/cms/ecc/MQVuserKeyingMaterial.cs +++ b/crypto/src/asn1/cms/ecc/MQVuserKeyingMaterial.cs @@ -36,7 +36,7 @@ namespace Org.BouncyCastle.Asn1.Cms.Ecc throw new ArgumentException("Bad sequence size: " + count, nameof(seq)); m_ephemeralPublicKey = OriginatorPublicKey.GetInstance(seq[pos++]); - m_addedukm = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, Asn1OctetString.GetInstance); + m_addedukm = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, Asn1OctetString.GetTagged); if (pos != count) throw new ArgumentException("Unexpected elements in sequence", nameof(seq)); |