mirror of
https://github.com/google/go-attestation.git
synced 2025-02-21 09:11:46 +00:00
testKeySign: small fix (#206)
This commit is contained in:
parent
9fc6c7504a
commit
611c6598b2
@ -151,7 +151,7 @@ func testKeySign(t *testing.T, tpm *TPM) {
|
||||
}
|
||||
digest := []byte("12345678901234567890123456789012")
|
||||
sig, err := signer.Sign(rand.Reader, digest, nil)
|
||||
if !ok {
|
||||
if err != nil {
|
||||
t.Fatalf("signer.Sign() failed: %v", err)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user