Skip to content

Commit

Permalink
Merge pull request #12 from Nitrokey/se050-test-disable
Browse files Browse the repository at this point in the history
se050 test: Return UnsuportedCommand (INVALID_COMMAND) instead of NotAvailable (INVALID_LENGTH)
  • Loading branch information
sosthene-nitrokey authored Oct 2, 2023
2 parents 9fcaa35 + e1179ef commit 6896447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ where
}
#[cfg(not(feature = "se050"))]
{
return Err(Error::NotAvailable);
return Err(Error::UnsupportedCommand);
}
}
Command::GetConfig => {
Expand Down

0 comments on commit 6896447

Please sign in to comment.