don't build openssl-enc for tests

This commit is contained in:
Steffen Jaeckel 2017-06-08 22:19:48 +02:00
parent 08a461b39c
commit db5438ca55
2 changed files with 7 additions and 3 deletions

View File

@ -48,6 +48,9 @@
#ifndef LTC_RNG_GET_BYTES #ifndef LTC_RNG_GET_BYTES
#error Cannot compile this demo; random generator required #error Cannot compile this demo; random generator required
#endif #endif
#ifndef LTC_MD5
#error Cannot compile this demo; MD5 required
#endif
/* OpenSSL by default only runs one hash round */ /* OpenSSL by default only runs one hash round */
#define OPENSSL_ITERATIONS 1 #define OPENSSL_ITERATIONS 1

View File

@ -108,8 +108,9 @@ THEADERS = $(wildcard testprof/*.h)
TIMING=timing TIMING=timing
TEST=test TEST=test
USEFUL_DEMOS=hashsum openssl-enc USEFUL_DEMOS=hashsum
DEMOS=$(USEFUL_DEMOS) ltcrypt small tv_gen sizes constants UNBROKEN_DEMOS=$(USEFUL_DEMOS) ltcrypt small tv_gen sizes constants
DEMOS=$(UNBROKEN_DEMOS) openssl-enc
TIMINGS=demos/timing.o TIMINGS=demos/timing.o
TESTS=demos/test.o TESTS=demos/test.o
@ -330,7 +331,7 @@ $(TOBJECTS): $(HEADERS) $(THEADERS)
bins: $(USEFUL_DEMOS) bins: $(USEFUL_DEMOS)
all_test: test tv_gen $(DEMOS) all_test: test $(UNBROKEN_DEMOS)
#build the doxy files (requires Doxygen, tetex and patience) #build the doxy files (requires Doxygen, tetex and patience)
doxygen doxy docs: doxygen doxy docs: