Skip to content

Commit 77ecce2

Browse files
committed
verifier: set measurement result array even if empty
Signed-off-by: Simon Ott <simon.ott@aisec.fraunhofer.de>
1 parent 18d5fa0 commit 77ecce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

verifier/verifier.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ func Verify(
7070
Summary: ar.Result{
7171
Status: ar.StatusSuccess,
7272
},
73-
CertLevel: 0,
73+
Measurements: []ar.MeasurementResult{},
74+
CertLevel: 0,
7475
}
7576

7677
// Detect serialization format

0 commit comments

Comments
 (0)