Skip to content

Commit

Permalink
attestation ui: correct error message display on esp32 hw
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDriver committed Dec 6, 2024
1 parent 9a2001e commit 125fdf5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions main/process/register_attestation.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ void register_attestation_process(void* process_ptr)

#else // CONFIG_IDF_TARGET_ESP32S3
jade_process_reject_message(process, CBOR_RPC_INTERNAL_ERROR, "Attestation not supported", NULL);
const char* message[] = { "Attestation not supported" };
await_error_activity(message, 1);
#endif // CONFIG_IDF_TARGET_ESP32S3

cleanup:
Expand Down
2 changes: 0 additions & 2 deletions main/process/sign_attestation.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ void sign_attestation_process(void* process_ptr)
JADE_LOGI("Success");
#else // CONFIG_IDF_TARGET_ESP32S3
jade_process_reject_message(process, CBOR_RPC_INTERNAL_ERROR, "Attestation not supported", NULL);
const char* message[] = { "Attestation not supported" };
await_error_activity(message, 1);
#endif // CONFIG_IDF_TARGET_ESP32S3

cleanup:
Expand Down

0 comments on commit 125fdf5

Please sign in to comment.