mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-13 04:16:03 +00:00
tpm2: Use #if ALG_CAMELLIA rather than #if 0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
a1a7748e0b
commit
71b33cb9e0
@ -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()) */
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user