diff --git a/src/tss2-fapi/fapi_crypto.c b/src/tss2-fapi/fapi_crypto.c index 645ebdb3e..43b1bbbb6 100644 --- a/src/tss2-fapi/fapi_crypto.c +++ b/src/tss2-fapi/fapi_crypto.c @@ -2090,7 +2090,7 @@ ifapi_base64encode(uint8_t *buffer, size_t buffer_size, char** b64_data) { cleanup); } - BIO_flush(bio); + (void) BIO_flush(bio); BIO_get_mem_ptr(bio, &b64_mem); goto_if_null2(b64_mem, "Out of memory.", r, TSS2_FAPI_RC_MEMORY, cleanup); diff --git a/src/tss2-fapi/ifapi_profiles.c b/src/tss2-fapi/ifapi_profiles.c index 2dfaa29d4..1551337da 100644 --- a/src/tss2-fapi/ifapi_profiles.c +++ b/src/tss2-fapi/ifapi_profiles.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "tss2_common.h"