Return reference not found when deleting a key domain.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -111,6 +111,8 @@ int cmd_key_domain() {
|
|||||||
return SW_EXEC_ERROR();
|
return SW_EXEC_ERROR();
|
||||||
}
|
}
|
||||||
low_flash_available();
|
low_flash_available();
|
||||||
|
if (p1 == 0x3)
|
||||||
|
return SW_REFERENCE_NOT_FOUND();
|
||||||
}
|
}
|
||||||
else if (p1 == 0x2) { //XKEK Key Domain creation
|
else if (p1 == 0x2) { //XKEK Key Domain creation
|
||||||
if (apdu.nc > 0) {
|
if (apdu.nc > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user