feat: v1.9.3, pivutil::get_slot_id support 9b(Management)

This commit is contained in:
2024-06-10 19:35:15 +08:00
parent 8ba43f8c6b
commit 9caee95711
3 changed files with 3 additions and 2 deletions

View File

@@ -163,6 +163,7 @@ pub fn get_slot_id(slot: &str) -> XResult<SlotId> {
let slot_lower = slot.to_lowercase();
Ok(match slot_lower.as_str() {
"9a" | "auth" | "authentication" => SlotId::Authentication,
"9b" | "management" => SlotId::Management(ManagementSlotId::Management),
"9c" | "sign" | "signature" => SlotId::Signature,
"9d" | "keym" | "keymanagement" => SlotId::KeyManagement,
"9e" | "card" | "cardauthentication" => SlotId::CardAuthentication,