From 37ed199fcebc73954e694b44033aeca4ab8a417f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 11 Jul 2018 12:23:52 +0200 Subject: Use stubs instead of conditional compile with HAVE_LIBCRYPTO. The macro is only set when building the pkcs7-helper library, so cannot be used by client code. Build stub functions when compiling the pkcs7-openssl helper library without libcrypto. --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a97610fe..9bfd68bf 100644 --- a/Makefile +++ b/Makefile @@ -123,9 +123,7 @@ THREAD_SRC := source/helpers/mu-threads/mu-threads.c THREAD_OBJ := $(THREAD_SRC:%.c=$(OUT)/%.o) PKCS7_SRC := source/helpers/pkcs7/pkcs7-check.c -ifeq ($(HAVE_LIBCRYPTO),yes) - PKCS7_SRC += source/helpers/pkcs7/pkcs7-openssl.c -endif +PKCS7_SRC += source/helpers/pkcs7/pkcs7-openssl.c PKCS7_OBJ := $(PKCS7_SRC:%.c=$(OUT)/%.o) # --- Generated embedded font files --- -- cgit v1.2.3