75: Make PCRs() take the digest algorithm (#77)

This commit is contained in:
Tom D
2019-08-20 11:52:12 -07:00
committed by GitHub
parent 6b09d5331a
commit 6e2e8693ad
8 changed files with 62 additions and 70 deletions

View File

@ -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)
}