From de08e7e954e1edff6d62e1d5d83e1aaf2523c0e7 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Thu, 7 Aug 2025 17:40:28 -0400 Subject: [PATCH] Sync: Add NOT_REFERENCED to avoid build error Signed-off-by: Stefan Berger --- src/tpm2/Object_spt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tpm2/Object_spt.c b/src/tpm2/Object_spt.c index f267758a..6fc2928b 100644 --- a/src/tpm2/Object_spt.c +++ b/src/tpm2/Object_spt.c @@ -1034,6 +1034,10 @@ static UINT16 MarshalSensitive( MemoryPad2B(&sensitive->authValue.b, CryptHashGetDigestSize(nameAlg)); buffer += 2; +#if !ALG_RSA + NOT_REFERENCED(parent); +#endif + // Marshal the structure #if 0 /* ALG_RSA */ // libtpms changed: We never set the RSA_prime_flag! // If the sensitive size is the special case for a prime in the type