mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-30 21:59:36 +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:
1 parent
3df9bc73f8
commit
c98545b3ae
3 files changed
+20
-39
No files matched your search
@@ -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