From bba2e72ac57e7c6d21a780404ee48ed7c275ebfe Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 10 Jun 2016 13:47:11 +0200 Subject: [PATCH] test: fix security_manager tests --- test/btstack_config.h | 2 +- test/security_manager/Makefile | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/btstack_config.h b/test/btstack_config.h index 16de9ee79..195caef28 100644 --- a/test/btstack_config.h +++ b/test/btstack_config.h @@ -19,7 +19,7 @@ #define ENABLE_LOG_INTO_HCI_DUMP #define ENABLE_SDP_DES_DUMP #define ENABLE_SDP_EXTRA_QUERIES -#define ENABLE_LE_SECURE_CONNECTIONS +// #define ENABLE_LE_SECURE_CONNECTIONS // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52 diff --git a/test/security_manager/Makefile b/test/security_manager/Makefile index 00457c96f..d9b78bccb 100644 --- a/test/security_manager/Makefile +++ b/test/security_manager/Makefile @@ -36,7 +36,8 @@ MBEDTLS = \ ecp_curves.c \ bignum.c \ -all: security_manager aestest ectest aes_cmac_test sm_mbedtls_allocator_test +all: security_manager aestest ectest aes_cmac_test +# sm_mbedtls_allocator_test security_manager: ${CORE_OBJ} ${COMMON_OBJ} security_manager.c ${CC} ${CORE_OBJ} ${COMMON_OBJ} security_manager.c ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o $@ @@ -45,6 +46,7 @@ aestest: aestest.o rijndael.o ${CC} ${CFLAGS} $^ -o $@ ectest: ectest.o ${MBEDTLS} rijndael.o + echo "compiling ectest" gcc ${CFLAGS} $^ -o $@ aes_cmac_test: aes_cmac_test.o aes_cmac.o rijndael.o @@ -57,6 +59,8 @@ test: all ./security_manager ./aes_cmac_test ./aestest + ./ectest + ./aes_cmac_test clean: rm -f security_manager