boot: make Event a standard-conforming flexible array

This commit is contained in:
Frantisek Sumsal 2023-05-30 10:21:26 +02:00
parent e4086f7dc9
commit 13bb569b75

View file

@ -54,7 +54,7 @@ typedef struct {
uint8_t Digest[20];
} Digest;
uint32_t EventSize;
uint8_t Event[0];
uint8_t Event[];
} _packed_ TCG_PCR_EVENT;
typedef struct {