diff --git a/demos/openssl-enc.c b/demos/openssl-enc.c index daf529b..b94c402 100644 --- a/demos/openssl-enc.c +++ b/demos/openssl-enc.c @@ -48,6 +48,9 @@ #ifndef LTC_RNG_GET_BYTES #error Cannot compile this demo; random generator required #endif +#ifndef LTC_MD5 +#error Cannot compile this demo; MD5 required +#endif /* OpenSSL by default only runs one hash round */ #define OPENSSL_ITERATIONS 1 diff --git a/makefile_include.mk b/makefile_include.mk index 5c34a8e..d493d0e 100644 --- a/makefile_include.mk +++ b/makefile_include.mk @@ -108,8 +108,9 @@ THEADERS = $(wildcard testprof/*.h) TIMING=timing TEST=test -USEFUL_DEMOS=hashsum openssl-enc -DEMOS=$(USEFUL_DEMOS) ltcrypt small tv_gen sizes constants +USEFUL_DEMOS=hashsum +UNBROKEN_DEMOS=$(USEFUL_DEMOS) ltcrypt small tv_gen sizes constants +DEMOS=$(UNBROKEN_DEMOS) openssl-enc TIMINGS=demos/timing.o TESTS=demos/test.o @@ -330,7 +331,7 @@ $(TOBJECTS): $(HEADERS) $(THEADERS) bins: $(USEFUL_DEMOS) -all_test: test tv_gen $(DEMOS) +all_test: test $(UNBROKEN_DEMOS) #build the doxy files (requires Doxygen, tetex and patience) doxygen doxy docs: