mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Add back pow_response and crypto_response
Probably was accidentally removed in
3662302196
Signed-off-by: Ovenoboyo <ovenoboyo@gmail.com>
This commit is contained in:
parent
4a4596feb2
commit
7a4807eb8a
1 changed files with 3 additions and 0 deletions
|
@ -214,6 +214,9 @@ where
|
|||
.mut_or_insert_default()
|
||||
.set_hmac(challenge);
|
||||
|
||||
packet.pow_response.mut_or_insert_default();
|
||||
packet.crypto_response.mut_or_insert_default();
|
||||
|
||||
let mut buffer = vec![];
|
||||
let size = 4 + packet.compute_size();
|
||||
<Vec<u8> as WriteBytesExt>::write_u32::<BigEndian>(&mut buffer, size.try_into().unwrap())?;
|
||||
|
|
Loading…
Reference in a new issue