We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0d70fe commit 846afc7Copy full SHA for 846afc7
src/cose/mod.rs
@@ -182,7 +182,9 @@ pub fn open(
182
.encap_key
183
.as_slice()
184
.try_into()
185
- .map_err(|_| Error::InvalidEncapKeySize(encrypt0.unprotected.encap_key.len(), ENCAP_KEY_SIZE))?;
+ .map_err(|_| {
186
+ Error::InvalidEncapKeySize(encrypt0.unprotected.encap_key.len(), ENCAP_KEY_SIZE)
187
+ })?;
188
189
// Rebuild and open Enc_structure
190
let msg_to_check = recipient
0 commit comments