Merge branch 'firmware_protection' into env_console

This commit is contained in:
Julien Cretin
2022-03-08 15:02:34 +01:00
28 changed files with 2280 additions and 1883 deletions

View File

@@ -52,7 +52,7 @@ pub mod env;
/// CTAP implementation parameterized by its environment.
pub struct Ctap<E: Env> {
env: E,
state: CtapState<E>,
state: CtapState,
hid: CtapHid,
}
@@ -66,7 +66,7 @@ impl<E: Env> Ctap<E> {
Ctap { env, state, hid }
}
pub fn state(&mut self) -> &mut CtapState<E> {
pub fn state(&mut self) -> &mut CtapState {
&mut self.state
}