|
@@ -230,12 +230,22 @@ int main(__attribute__((unused)) int argc, __attribute__((unused)) char* argv[])
|
|
|
close(sealed_signing_key_fd);
|
|
|
|
|
|
// LA with the verifier
|
|
|
- ret_status=local_attestation_initiator(3825, e2_enclave_id);
|
|
|
+ ret_status=local_attestation_initiator(3824, e2_enclave_id);
|
|
|
if(ret_status!=0)
|
|
|
{
|
|
|
printf("local attestation - with the verifier - did not successfully return: %x\n", ret_status); fflush(stdout); sgx_destroy_enclave(e2_enclave_id);
|
|
|
return 0xFFFFFFFF;
|
|
|
}
|
|
|
+
|
|
|
+ ret_status=local_attestation_initiator(3825, e2_enclave_id);
|
|
|
+ if(ret_status!=0)
|
|
|
+ {
|
|
|
+ printf("local attestation - with the apache - did not successfully return: %x\n", ret_status); fflush(stdout); sgx_destroy_enclave(e2_enclave_id);
|
|
|
+ return 0xFFFFFFFF;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/*
|
|
|
// LA with the apache - currently set to return failure - should change it to success when the code to send the mrsigner from the verifier to the decryptor is added- TODO: <--- that
|
|
|
ret_status=local_attestation_initiator(3826, e2_enclave_id); // TODO: Change port or sth
|