From 57f5e03a88f90aea5b0d42ac4175321b8cd85f47 Mon Sep 17 00:00:00 2001 From: Jeremy Hahn Date: Tue, 25 Jun 2024 23:14:19 -0400 Subject: [PATCH] fix missing Name for 'SignHandle' parameter --- tpm2/structures.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpm2/structures.go b/tpm2/structures.go index dd35543b..e24b1883 100644 --- a/tpm2/structures.go +++ b/tpm2/structures.go @@ -130,7 +130,7 @@ func (h TPMHandle) KnownName() *TPM2BName { case TPMHTTransient: // The Name of a sequence object is an Empty Buffer // See part 1: Architecture, section 32.4.5 - if h == TPMIDHSavedSequence { + if h == TPMIDHSavedSequence || h == TPMIDHSavedTransientClear { return &TPM2BName{ Buffer: []byte{}, }