1
0
Fork 0
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:
Roderick van Domburg 2022-01-25 20:58:39 +01:00
parent 552d9145f4
commit 44860f4738
No known key found for this signature in database
GPG key ID: A9EF5222A26F0451
5 changed files with 1 additions and 6 deletions

View file

@ -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));
}