Skip to content

Commit 5d7b42a

Browse files
committed
fmt again
1 parent 5bd1467 commit 5d7b42a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/util/key_obfuscator.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,13 @@ impl KeyObfuscator {
5656
})?;
5757

5858
if obfuscated_key_bytes.len() < TAG_LENGTH + NONCE_LENGTH + TAG_LENGTH {
59-
let msg = format!("Failed to deobfuscate, obfuscated_key was of invalid length. \
60-
Obfuscated key should at least have {} bytes, found: {} Key: {}.", (TAG_LENGTH + NONCE_LENGTH + TAG_LENGTH), obfuscated_key_bytes.len(), obfuscated_key);
59+
let msg = format!(
60+
"Failed to deobfuscate, obfuscated_key was of invalid length. \
61+
Obfuscated key should at least have {} bytes, found: {}. Key: {}.",
62+
(TAG_LENGTH + NONCE_LENGTH + TAG_LENGTH),
63+
obfuscated_key_bytes.len(),
64+
obfuscated_key
65+
);
6166
return Err(Error::new(ErrorKind::InvalidData, msg));
6267
}
6368

0 commit comments

Comments
 (0)