From: Ben Laurie Date: Tue, 29 Apr 2014 17:36:39 +0000 (+0100) Subject: Make it build/run. X-Git-Tag: master-post-reformat~804^2~3 X-Git-Url: https://git.openssl.org/?a=commitdiff_plain;ds=sidebyside;h=f41231d62aaa25630e241a0e94780c6d9b43bc37;p=openssl.git Make it build/run. --- 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