mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #1108 from Ovenoboyo/dev
Add back pow_response and crypto_response
This commit is contained in:
commit
e9dbdfed25
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