Skip to content

Commit 846afc7

Browse files
committed
cose: fix formatting
1 parent e0d70fe commit 846afc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cose/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ pub fn open(
182182
.encap_key
183183
.as_slice()
184184
.try_into()
185-
.map_err(|_| Error::InvalidEncapKeySize(encrypt0.unprotected.encap_key.len(), ENCAP_KEY_SIZE))?;
185+
.map_err(|_| {
186+
Error::InvalidEncapKeySize(encrypt0.unprotected.encap_key.len(), ENCAP_KEY_SIZE)
187+
})?;
186188

187189
// Rebuild and open Enc_structure
188190
let msg_to_check = recipient

0 commit comments

Comments
 (0)