mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +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()
|
||||
.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