From 5612e91286d0f2bc8d12372cd1c0258da1b4550f Mon Sep 17 00:00:00 2001 From: andrewmah Date: Tue, 23 Jan 2024 17:48:58 -0500 Subject: [PATCH] Change RKeyId enum variant to use constructed encoding (#1333) --- cms/src/enveloped_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/src/enveloped_data.rs b/cms/src/enveloped_data.rs index 851bc3e0d..8a0a3c12b 100644 --- a/cms/src/enveloped_data.rs +++ b/cms/src/enveloped_data.rs @@ -299,7 +299,7 @@ pub struct RecipientEncryptedKey { #[allow(missing_docs)] pub enum KeyAgreeRecipientIdentifier { IssuerAndSerialNumber(IssuerAndSerialNumber), - #[asn1(context_specific = "0", tag_mode = "IMPLICIT")] + #[asn1(context_specific = "0", tag_mode = "IMPLICIT", constructed = "true")] RKeyId(RecipientKeyIdentifier), }