mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +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()
|
.mut_or_insert_default()
|
||||||
.set_hmac(challenge);
|
.set_hmac(challenge);
|
||||||
|
|
||||||
|
packet.pow_response.mut_or_insert_default();
|
||||||
|
packet.crypto_response.mut_or_insert_default();
|
||||||
|
|
||||||
let mut buffer = vec![];
|
let mut buffer = vec![];
|
||||||
let size = 4 + packet.compute_size();
|
let size = 4 + packet.compute_size();
|
||||||
<Vec<u8> as WriteBytesExt>::write_u32::<BigEndian>(&mut buffer, size.try_into().unwrap())?;
|
<Vec<u8> as WriteBytesExt>::write_u32::<BigEndian>(&mut buffer, size.try_into().unwrap())?;
|
||||||
|
|
Loading…
Reference in a new issue