Skip to content

Commit

Permalink
Refactoring in endorsement revoke syscalls
Browse files Browse the repository at this point in the history
  • Loading branch information
abonnaudet-ledger committed Dec 3, 2024
1 parent 27832bf commit ab5962f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1930,13 +1930,15 @@ void CERT_erase(void)
}
#endif // HAVE_CUSTOM_CA_DETAILS_IN_SETTINGS

bolos_bool_t ENDORSEMENT_revoke_slot(ENDORSEMENT_revoke_id_t revoke_id)
#ifdef HAVE_BOLOS
bolos_err_t ENDORSEMENT_revoke_slot(ENDORSEMENT_revoke_id_t revoke_id)
{
unsigned int parameters[1];
parameters[0] = (unsigned int) revoke_id;
bolos_bool_t ret = SVC_Call(SYSCALL_ENDORSEMENT_revoke_slot_ID, parameters);
return ret;
}
#endif

#ifdef HAVE_MCU_SERIAL_STORAGE
unsigned int os_seph_serial(unsigned char *serial, unsigned int maxlength)
Expand Down

0 comments on commit ab5962f

Please sign in to comment.