Skip to content

Commit 3aa74e3

Browse files
committed
stdout is undeclared
1 parent 9cb19e3 commit 3aa74e3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

wolfcrypt/benchmark/benchmark.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,9 @@ static void bench_stats_sym_finish(const char* desc, int useDeviceID, int count,
16871687
printf("%sBenchmark %s failed: %d\n", err_prefix, desc, ret);
16881688
}
16891689

1690+
#ifndef WOLFSSL_SGX
16901691
fflush(stdout);
1692+
#endif
16911693

16921694
/* Add to thread stats */
16931695
bench_stats_add(BENCH_STAT_SYM, desc, 0, desc, useDeviceID, persec,
@@ -1778,7 +1780,9 @@ static void bench_stats_asym_finish_ex(const char* algo, int strength,
17781780
err_prefix, algo, desc, strength, ret);
17791781
}
17801782

1783+
#ifndef WOLFSSL_SGX
17811784
fflush(stdout);
1785+
#endif
17821786

17831787
/* Add to thread stats */
17841788
bench_stats_add(BENCH_STAT_ASYM, algo, strength, desc, useDeviceID, opsSec,

0 commit comments

Comments
 (0)