Re-instate the length check for Le bytes

This commit is contained in:
Kamran Khan
2020-12-14 04:54:25 -08:00
parent dbbdddd58b
commit 35bdfe90ed
2 changed files with 4 additions and 1 deletions

View File

@@ -542,7 +542,7 @@ mod test {
message.push(0x00);
let response = Ctap1Command::process_command(&message, &mut ctap_state, START_CLOCK_VALUE);
assert_eq!(response, Err(Ctap1StatusCode::SW_INTERNAL_EXCEPTION));
assert_eq!(response, Err(Ctap1StatusCode::SW_WRONG_LENGTH));
}
#[test]