mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
benchmark.c: fix -Wstringop-truncation in _ASYNC_CRYPT bench_stats_add().
This commit is contained in:
@@ -1072,7 +1072,7 @@ typedef enum bench_stat_type {
|
||||
typedef struct bench_stats {
|
||||
struct bench_stats* next;
|
||||
struct bench_stats* prev;
|
||||
char algo[BENCH_MAX_NAME_SZ]; /* may not be static, so make copy */
|
||||
char algo[BENCH_MAX_NAME_SZ+1]; /* may not be static, so make copy */
|
||||
const char* desc;
|
||||
double perfsec;
|
||||
int strength;
|
||||
|
Reference in New Issue
Block a user