On Wed, 2020-07-22 at 12:52 +0200, Petr Vorel wrote: > pcr_tss.c: In function 'pcr_selections_match': > pcr_tss.c:73:2: error: 'for' loop initial declarations are only allowed in C99 mode > for (int i = 0; i < a->count; i++) { > ^ > pcr_tss.c:73:2: note: use option -std=c99 or -std=gnu99 to compile your code > pcr_tss.c:78:3: error: 'for' loop initial declarations are only allowed in C99 mode > for (int j = 0; j < a->pcrSelections[i].sizeofSelect; j++) { > ^ > > Fixes: 03f99ea ("ima-evm-utils: Add support for Intel TSS2 for PCR > reading") > > Signed-off-by: Petr Vorel <pvorel@xxxxxxx> thanks, Mimi