mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
Updates for SGX 2.17 reproducible build.
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
This commit is contained in:
@@ -150,8 +150,8 @@ sgx_status_t initialize_enclave(const char *enclave_path)
|
||||
if (ret != SGX_SUCCESS)
|
||||
{
|
||||
print_error_message(ret);
|
||||
return ret;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -218,7 +218,7 @@ read_port:
|
||||
|
||||
printf("Host: calling setup_tls_server\n");
|
||||
result = set_up_tls_server(server_global_eid, &ret, server_port, keep_server_up);
|
||||
if (ret != 0)
|
||||
if (result != SGX_SUCCESS || ret != 0)
|
||||
{
|
||||
printf("Host: setup_tls_server failed\n");
|
||||
goto exit;
|
||||
|
||||
Reference in New Issue
Block a user