adds comments to new config command file

This commit is contained in:
Fabian Kaczmarczyck
2021-01-07 18:50:34 +01:00
parent f4eb6c938e
commit ec259d8428

View File

@@ -21,6 +21,7 @@ use super::status_code::Ctap2StatusCode;
use super::storage::PersistentStore; use super::storage::PersistentStore;
use alloc::vec; use alloc::vec;
/// Processes the subcommand setMinPINLength for AuthenticatorConfig.
fn process_set_min_pin_length( fn process_set_min_pin_length(
persistent_store: &mut PersistentStore, persistent_store: &mut PersistentStore,
pin_protocol_v1: &mut PinProtocolV1, pin_protocol_v1: &mut PinProtocolV1,
@@ -52,6 +53,7 @@ fn process_set_min_pin_length(
Ok(ResponseData::AuthenticatorConfig) Ok(ResponseData::AuthenticatorConfig)
} }
/// Processes the AuthenticatorConfig command.
pub fn process_config( pub fn process_config(
persistent_store: &mut PersistentStore, persistent_store: &mut PersistentStore,
pin_protocol_v1: &mut PinProtocolV1, pin_protocol_v1: &mut PinProtocolV1,