improved code consistency and documentation

This commit is contained in:
Fabian Kaczmarczyck
2020-08-04 18:56:54 +02:00
parent 4e4ed126b7
commit d5fefa2f12
2 changed files with 97 additions and 64 deletions

View File

@@ -411,7 +411,7 @@ where
}
if !self
.pin_protocol_v1
.check_pin_auth_token(&client_data_hash, &pin_auth)
.verify_pin_auth_token(&client_data_hash, &pin_auth)
{
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_AUTH_INVALID);
}
@@ -595,7 +595,7 @@ where
}
if !self
.pin_protocol_v1
.check_pin_auth_token(&client_data_hash, &pin_auth)
.verify_pin_auth_token(&client_data_hash, &pin_auth)
{
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_AUTH_INVALID);
}