mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
Linux 2.8 Open Source Gold Release.
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
This commit is contained in:
@@ -287,7 +287,9 @@ int SGX_CDECL main(int argc, char *argv[])
|
||||
|
||||
|
||||
/* Initialize the enclave */
|
||||
if ( initialize_enclave ( ENCLAVE_FILENAME, &global_eid ) < 0 ){
|
||||
if ( initialize_enclave ( ENCLAVE_FILENAME, &global_eid ) != SGX_SUCCESS ){
|
||||
printf("Enter a character before exit ...\n");
|
||||
getchar();
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user