Including tpm_tools/tpm_unseal.h will generate an error due to BOOL not being defined on Linux. Add #define like is done tpm_utils.h.
Signed-off-by: Jerry Snitselaar <[email protected]> --- include/tpm_unseal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/tpm_unseal.h b/include/tpm_unseal.h index d058acf..ae29181 100644 --- a/include/tpm_unseal.h +++ b/include/tpm_unseal.h @@ -37,6 +37,10 @@ enum tpm_errors { extern int tpm_errno; +#ifndef BOOL +#define BOOL int +#endif + int tpmUnsealFile(char*, unsigned char**, int*, BOOL); void tpmUnsealShred(unsigned char*, int); char* tpmUnsealStrerror(int); -- 2.23.0 _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
