Updates for SGX 2.17 reproducible build.

Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
This commit is contained in:
Zhang Lili
2022-06-15 11:49:48 +08:00
parent 0f61c27a40
commit 1deb73848a
119 changed files with 2122 additions and 880 deletions
+3 -1
View File
@@ -39,7 +39,7 @@
using namespace std;
extern "C" void printf(const char *fmt, ...)
extern "C" int printf(const char *fmt, ...)
{
char buf[300] = {'\0'};
va_list ap;
@@ -47,6 +47,8 @@ extern "C" void printf(const char *fmt, ...)
vsnprintf(buf, BUFSIZ, fmt, ap);
va_end(ap);
ocall_print_string(buf);
return 0;
}