mirror of
https://github.com/google/go-attestation.git
synced 2025-06-20 07:53:47 +00:00
75: Make PCRs() take the digest algorithm (#77)
This commit is contained in:
@ -146,7 +146,7 @@ func TestPCRs(t *testing.T) {
|
||||
}
|
||||
defer tpm.Close()
|
||||
|
||||
PCRs, _, err := tpm.PCRs()
|
||||
PCRs, err := tpm.PCRs(HashSHA1)
|
||||
if err != nil {
|
||||
t.Fatalf("PCRs() failed: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user