[PAL] protected files: Remove too-noisy debug prints

SGX_DBG macro disrespects debug logging settings from the manifest, but
fixing this properly is a much bigger task (the whole logging subsystem
should be redesigned).
This commit is contained in:
Michał Kowalczyk
2020-07-21 05:02:08 +00:00
committed by Dmitrii Kuvaiskii
parent bedddae05b
commit 1895f3463d
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -34,9 +34,6 @@ static int file_open(PAL_HANDLE* handle, const char* type, const char* uri, int
if (strcmp_static(type, URI_TYPE_FILE))
return -PAL_ERROR_INVAL;
SGX_DBG(DBG_D, "file_open: uri %s, access 0x%x, share 0x%x, create 0x%x, options 0x%x\n",
uri, access, share, create, options);
/* prepare the file handle */
size_t len = strlen(uri) + 1;
PAL_HANDLE hdl = calloc(1, HANDLE_SIZE(file) + len);
-1
View File
@@ -220,7 +220,6 @@ struct protected_file* get_protected_file(const char* path) {
}
out:
SGX_DBG(DBG_D, "get_pf(%s) = %p\n", path, pf);
return pf;
}