test: fix warning about missing NUL terminator

Both gcc-15 and clang-22 now warn if there is no space for null character.

As we use this as binary buffer, just do not use fixed char array here.
This commit is contained in:
Milan Broz
2025-08-12 13:52:11 +02:00
parent 10e5ab1a87
commit b7ec4a9d9b

View File

@@ -733,11 +733,11 @@ struct cipher_iv_test_vector {
const char *iv_name;
uint64_t iv_offset;
unsigned int data_length;
const char in_sha256[32];
const char *in_sha256;
struct {
size_t sector_size;
bool large_iv;
const char out_sha256[32];
const char *out_sha256;
} out[7];
};