diff --git a/Cargo.lock b/Cargo.lock index 6576878..5d67377 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1440,7 +1440,7 @@ dependencies = [ [[package]] name = "trussed" version = "0.1.0" -source = "git+https://github.com/trussed-dev/trussed.git?rev=ac106d63ab5e19021b0e37f0efb4313f8168a110#ac106d63ab5e19021b0e37f0efb4313f8168a110" +source = "git+https://github.com/trussed-dev/trussed.git?rev=024e0eca5fb7dbd2457831f7c7bffe4341e08775#024e0eca5fb7dbd2457831f7c7bffe4341e08775" dependencies = [ "aes", "bitflags 2.6.0", diff --git a/Cargo.toml b/Cargo.toml index f9f306a..c68f20b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,4 +37,4 @@ ctaphid = ["ctaphid-dispatch", "usbd-ctaphid"] ccid = ["apdu-dispatch", "usbd-ccid"] [patch.crates-io] -trussed = { git = "https://github.com/trussed-dev/trussed.git", rev = "ac106d63ab5e19021b0e37f0efb4313f8168a110" } +trussed = { git = "https://github.com/trussed-dev/trussed.git", rev = "024e0eca5fb7dbd2457831f7c7bffe4341e08775" } diff --git a/src/lib.rs b/src/lib.rs index 3a6708e..eeb4d11 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -123,7 +123,7 @@ impl Platform { } } -unsafe impl platform::Platform for Platform { +impl platform::Platform for Platform { type R = ChaCha8Rng; type S = Store; type UI = UserInterface;