attestation: add MachineState to ValidateCVM

This commit is contained in:
Thomas Tendyck 2023-03-06 09:15:52 +01:00 committed by Thomas Tendyck
parent 3471d73c6c
commit 2535073df8
10 changed files with 16 additions and 33 deletions

View file

@ -108,7 +108,7 @@ func TestTpmEnabled(t *testing.T) {
},
}
err := v.tpmEnabled(tc.attDoc)
err := v.tpmEnabled(tc.attDoc, nil)
if tc.wantErr {
assert.Error(err)
} else {