diff --git a/Cargo.toml b/Cargo.toml index b7b0360..63b109a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,3 +43,4 @@ lto = true # Link Time Optimization usually reduces size of binaries and static [profile.release] panic = "abort" lto = true # Link Time Optimization usually reduces size of binaries and static libraries +opt-level = "z" diff --git a/src/ctap/storage.rs b/src/ctap/storage.rs index 2ba8d77..084cc1b 100644 --- a/src/ctap/storage.rs +++ b/src/ctap/storage.rs @@ -72,7 +72,7 @@ impl PersistentStore { let mut store = PersistentStore { store: persistent_store::Store::new(storage).ok().unwrap(), }; - store.init(rng).unwrap(); + store.init(rng).ok().unwrap(); store }