mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
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:
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user