]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: make Event a standard-conforming flexible array
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 30 May 2023 08:21:26 +0000 (10:21 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 30 May 2023 08:22:44 +0000 (10:22 +0200)
src/boot/efi/proto/tcg.h

index af6989c85489b8dbd21bbb7a59f02cf5406c26eb..d8802ae0e334eec41fcaf2a1953fceb07f01c097 100644 (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 {