tpm2: Use #if ALG_CAMELLIA rather than #if 0

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2021-07-21 14:26:17 -04:00 committed by Stefan Berger
parent a1a7748e0b
commit 71b33cb9e0

View File

@ -1187,15 +1187,15 @@ TPMI_TDES_KEY_BITS_Marshal(TPMI_TDES_KEY_BITS *source, BYTE **buffer, INT32 *siz
return written;
}
#if 0 // libtpms added
#if ALG_CAMELLIA
UINT16
TPMI_CAMELLIA_KEY_BITS_Marshal(TPMI_CAMELLIA_KEY_BITS *source, BYTE **buffer, INT32 *size)
{
UINT16 written = 0;
written += TPM_KEY_BITS_Marshal(source, buffer, size);
return written;
} // libtpms added end
#endif // libtpms added
}
#endif // libtpms added end
/* Table 2:128 - Definition of TPMU_SYM_KEY_BITS Union (StructuresTable()) */