Skip to content

Commit 560dec0

Browse files
authored
api: align golang api with python (#145)
1 parent 5b2707e commit 560dec0

File tree

1 file changed

+1
-1
lines changed
  • common/golang/evidence_api

1 file changed

+1
-1
lines changed

common/golang/evidence_api/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (t CC_Type) String() string {
2929
type EvidenceAPI interface {
3030
GetDefaultAlgorithm() (TCG_ALG, error)
3131

32-
GetCCReport(nonce, userData string, extraArgs map[string]any) (Report, error)
32+
GetCCReport(nonce, userData []byte, extraArgs map[string]any) (Report, error)
3333
DumpCCReport(reportBytes []byte) error
3434

3535
GetMeasurementCount() (int, error)

0 commit comments

Comments
 (0)