File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2575,6 +2575,7 @@ static void* benchmarks_do(void* args)
25752575 goto exit ;
25762576 }
25772577
2578+ #ifndef NO_FILESYSTEM
25782579 if (hash_input ) {
25792580 XFILE file ;
25802581 file = XFOPEN (hash_input , "rb" );
@@ -2642,6 +2643,8 @@ static void* benchmarks_do(void* args)
26422643 else {
26432644 XMEMSET (bench_cipher , 0 , (size_t )bench_buf_size );
26442645 }
2646+ #endif
2647+
26452648#if defined(WOLFSSL_ASYNC_CRYPT ) || defined(HAVE_INTEL_QA_SYNC )
26462649 bench_key = (byte * )XMALLOC (sizeof (bench_key_buf ),
26472650 HEAP_HINT , DYNAMIC_TYPE_WOLF_BIGINT );
@@ -15458,9 +15461,13 @@ static void Usage(void)
1545815461 printf ("%s" , bench_Usage_msg1 [lng_index ][e ]); /* option -print */
1545915462#endif
1546015463 e ++ ;
15464+ #ifndef NO_FILESYSTEM
1546115465 printf ("%s" , bench_Usage_msg1 [lng_index ][e ]); /* option -hash_input */
15466+ #endif
1546215467 e ++ ;
15468+ #ifndef NO_FILESYSTEM
1546315469 printf ("%s" , bench_Usage_msg1 [lng_index ][e ]); /* option -cipher_input */
15470+ #endif
1546415471#ifdef ADVANCED_STATS
1546515472 e ++ ;
1546615473 printf ("%s" , bench_Usage_msg1 [lng_index ][e ]); /* option -cipher_input */
You can’t perform that action at this time.
0 commit comments