mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
fix(deps): update rust crate bytes to v1 (#783)
* fix(deps): update rust crate bytes to v1 * adapt api --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars <fabianlars@fabianlars.de>
This commit is contained in:
@@ -39,7 +39,7 @@ pub fn parse_sign_response(
|
||||
|
||||
let mut msg = vec![];
|
||||
msg.put(app_id_hash.as_ref());
|
||||
msg.put(*user_presence_flag);
|
||||
msg.put_u8(*user_presence_flag);
|
||||
msg.put(counter);
|
||||
msg.put(client_data_hash.as_ref());
|
||||
|
||||
@@ -61,5 +61,5 @@ pub fn parse_sign_response(
|
||||
|
||||
fn get_counter(counter: &[u8]) -> u32 {
|
||||
let mut buf = Cursor::new(counter);
|
||||
buf.get_u32_be()
|
||||
buf.get_u32()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user