New source file for configuration checks
This will be populated in subsequent commits.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index 451dbfd..0875bb9 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -1,5 +1,6 @@
set(src_x509
error.c
+ mbedtls_config.c
pkcs7.c
x509.c
x509_create.c
diff --git a/library/Makefile b/library/Makefile
index a880f26..f872934 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -121,6 +121,7 @@
OBJS_CRYPTO+=$(THIRDPARTY_CRYPTO_OBJECTS)
OBJS_X509= \
+ mbedtls_config.o \
x509.o \
x509_create.o \
x509_crl.o \
diff --git a/library/mbedtls_config.c b/library/mbedtls_config.c
new file mode 100644
index 0000000..692dce7
--- /dev/null
+++ b/library/mbedtls_config.c
@@ -0,0 +1,9 @@
+/*
+ * Mbed TLS configuration checks
+ */
+/*
+ * Copyright The Mbed TLS Contributors
+ * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+ */
+
+#include <mbedtls/build_info.h>