aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-04-29 18:36:39 +0100
committerBen Laurie <ben@links.org>2014-05-19 17:39:41 +0100
commitf41231d62aaa25630e241a0e94780c6d9b43bc37 (patch)
tree350944756284823d8f30c5f03014ef5fa9dde220
parent6af080acaf57c74e3cd96642f2900fa602407d10 (diff)
downloadopenssl-f41231d62aaa25630e241a0e94780c6d9b43bc37.tar.gz
Make it build/run.
-rw-r--r--ssl/heartbeat_test.c4
-rw-r--r--test/Makefile4
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 <string.h>
/* 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