mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +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 {
|
typedef struct bench_stats {
|
||||||
struct bench_stats* next;
|
struct bench_stats* next;
|
||||||
struct bench_stats* prev;
|
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;
|
const char* desc;
|
||||||
double perfsec;
|
double perfsec;
|
||||||
int strength;
|
int strength;
|
||||||
|
Reference in New Issue
Block a user