mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 17:00:53 +02:00
Fix compilation of benchmark with MAIN_NO_ARGS defined.
This commit is contained in:
@@ -1298,9 +1298,6 @@ static const bench_alg bench_other_opt[] = {
|
||||
#endif
|
||||
{ NULL, 0}
|
||||
};
|
||||
#endif /* MAIN_NO_ARGS */
|
||||
|
||||
#endif /* !WOLFSSL_BENCHMARK_ALL && !NO_MAIN_DRIVER */
|
||||
|
||||
#if defined(BENCH_PQ_STATEFUL_HBS)
|
||||
typedef struct bench_pq_hash_sig_alg {
|
||||
@@ -1353,6 +1350,10 @@ static const bench_pq_hash_sig_alg bench_pq_hash_sig_opt[] = {
|
||||
};
|
||||
#endif /* BENCH_PQ_STATEFUL_HBS */
|
||||
|
||||
#endif /* MAIN_NO_ARGS */
|
||||
|
||||
#endif /* !WOLFSSL_BENCHMARK_ALL && !NO_MAIN_DRIVER */
|
||||
|
||||
#if !defined(WOLFSSL_BENCHMARK_ALL) && !defined(MAIN_NO_ARGS)
|
||||
#if defined(WOLFSSL_HAVE_MLKEM) || defined(HAVE_FALCON) || \
|
||||
defined(WOLFSSL_HAVE_MLDSA)
|
||||
|
||||
Reference in New Issue
Block a user