mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 10:49:40 +02:00
Remove assertions for what we know works well
This commit is contained in:
parent
552d9145f4
commit
44860f4738
5 changed files with 1 additions and 6 deletions
|
@ -114,7 +114,6 @@ impl Credentials {
|
|||
let cipher = Aes192::new(GenericArray::from_slice(&key));
|
||||
let block_size = <Aes192 as BlockCipher>::BlockSize::to_usize();
|
||||
|
||||
assert_eq!(data.len() % block_size, 0);
|
||||
for chunk in data.chunks_exact_mut(block_size) {
|
||||
cipher.decrypt_block(GenericArray::from_mut_slice(chunk));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue