diff --git a/tpm/commands.go b/tpm/commands.go index 971846dc..ca30e3b9 100644 --- a/tpm/commands.go +++ b/tpm/commands.go @@ -221,7 +221,7 @@ func nvReadValue(rw io.ReadWriter, index, offset, len uint32, ca *commandAuth) ( // Auth is needed if ca != nil { in = append(in, ca) - out = append(out, ra) + out = append(out, &ra) ret, err = submitTPMRequest(rw, tagRQUAuth1Command, ordNVReadValue, in, out) } else { // Auth is not needed