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
#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

View File

@ -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: