From f41231d62aaa25630e241a0e94780c6d9b43bc37 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Tue, 29 Apr 2014 18:36:39 +0100 Subject: [PATCH] Make it build/run. --- ssl/heartbeat_test.c | 4 ++-- test/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ssl/heartbeat_test.c b/ssl/heartbeat_test.c index eb08ee6b0d..35985f836c 100644 --- a/ssl/heartbeat_test.c +++ b/ssl/heartbeat_test.c @@ -45,10 +45,10 @@ #include /* As per https://tools.ietf.org/html/rfc6520#section-4 */ -static const int MIN_PADDING_SIZE = 16; +#define MIN_PADDING_SIZE 16 /* Maximum number of payload characters to print as test output */ -static const int MAX_PRINTABLE_CHARACTERS = 1024; +#define MAX_PRINTABLE_CHARACTERS 1024 typedef struct heartbeat_test_fixture { diff --git a/test/Makefile b/test/Makefile index e016d71a9c..66ce1a1bbd 100644 --- a/test/Makefile +++ b/test/Makefile @@ -85,7 +85,7 @@ FIPS_ECDSAVS= fips_ecdsavs FIPS_TEST_SUITE=fips_test_suite FIPS_CMACTEST= fips_cmactest FIPS_ALGVS= fips_algvs -HEARTBEATTEST = heartbeat_test +HEARTBEATTEST= heartbeat_test TESTS= alltests @@ -379,7 +379,7 @@ test_ocsp: ../apps/openssl$(EXE_EXT) tocsp @sh ./tocsp test_heartbeat: $(HEARTBEATTEST)$(EXE_EXT) - ./$< + ../util/shlib_wrap.sh ./$(HEARTBEATTEST) lint: lint -DLINT $(INCLUDES) $(SRC)>fluff -- 2.25.1