Build: ESAPI Fix includes and CFLAGS
Remove some unused includes, -I and -Wno-*
Signed-off-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
diff --git a/Makefile.am b/Makefile.am
index 6be716f..cd1a38a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -158,9 +158,7 @@
nodist_pkgconfig_DATA += lib/tss2-esys.pc
EXTRA_DIST += lib/tss2-esys.pc.in
-src_tss2_esys_libtss2_esys_la_CFLAGS = $(AM_CFLAGS) \
- -Wno-unused-variable -Wno-unused-label \
- -I$(srcdir)/src/tss2-sys -I$(srcdir)/src/tss2-esys \
+src_tss2_esys_libtss2_esys_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/tss2-esys \
-DESYS_TCTI_DEFAULT_MODULE=$(TCTI_DEFAULT_MODULE) \
-DESYS_TCTI_DEFAULT_CONFIG=$(TCTI_DEFAULT_CONFIG)
src_tss2_esys_libtss2_esys_la_LIBADD = $(libtss2_sys) $(libtss2_mu) \
diff --git a/src/tss2-esys/esys_crypto.c b/src/tss2-esys/esys_crypto.c
index b8230e9..0b1bd2d 100644
--- a/src/tss2-esys/esys_crypto.c
+++ b/src/tss2-esys/esys_crypto.c
@@ -28,7 +28,6 @@
#include <gcrypt.h>
#include "tss2_esys.h"
-#include "sysapi_util.h"
#include "esys_crypto.h"
#include "esys_iutil.h"