mirror of
https://github.com/trussed-dev/fido-authenticator.git
synced 2026-06-20 04:16:16 -07:00
Use published micro-ecc/littlefs2 sys crates. Remove some warnings
This commit is contained in:
committed by
Nicolas Stalder
parent
7c108c31b3
commit
f8f698c93b
+3
-3
@@ -1717,7 +1717,7 @@ where UP: UserPresence,
|
||||
Mechanism::P256, public_key.clone(), KeySerialization::Cose
|
||||
)).serialized_key;
|
||||
let _success = syscall!(self.trussed.delete(public_key)).success;
|
||||
info!("deleted public P256 key: {}", success);
|
||||
info!("deleted public P256 key: {}", _success);
|
||||
}
|
||||
SupportedAlgorithm::Ed25519 => {
|
||||
private_key = syscall!(self.trussed.generate_ed25519_private_key(location)).key;
|
||||
@@ -1726,7 +1726,7 @@ where UP: UserPresence,
|
||||
Mechanism::Ed25519, public_key.clone(), KeySerialization::Cose
|
||||
)).serialized_key;
|
||||
let _success = syscall!(self.trussed.delete(public_key)).success;
|
||||
info!("deleted public Ed25519 key: {}", success);
|
||||
info!("deleted public Ed25519 key: {}", _success);
|
||||
}
|
||||
SupportedAlgorithm::Totp => {
|
||||
if parameters.client_data_hash.len() != 32 {
|
||||
@@ -1920,7 +1920,7 @@ where UP: UserPresence,
|
||||
|
||||
if !rk_requested {
|
||||
let _success = syscall!(self.trussed.delete(private_key)).success;
|
||||
info!("deleted private credential key: {}", success);
|
||||
info!("deleted private credential key: {}", _success);
|
||||
}
|
||||
|
||||
let packed_attn_stmt = ctap2::make_credential::PackedAttestationStatement {
|
||||
|
||||
+1
-1
@@ -252,7 +252,7 @@ impl PersistentState {
|
||||
*self = previous_self
|
||||
},
|
||||
Err(_err) => {
|
||||
info!("error with previous state! {:?}", err);
|
||||
info!("error with previous state! {:?}", _err);
|
||||
}
|
||||
}
|
||||
self.initialised = true;
|
||||
|
||||
Reference in New Issue
Block a user