summaryrefslogtreecommitdiffstats
path: root/test/heartbeat_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/heartbeat_test.c')
-rw-r--r--test/heartbeat_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/heartbeat_test.c b/test/heartbeat_test.c
index 42cbc0217c..2fa82e3169 100644
--- a/test/heartbeat_test.c
+++ b/test/heartbeat_test.c
@@ -240,7 +240,7 @@ static int execute_heartbeat(HEARTBEAT_TEST_FIXTURE fixture)
result = 1;
} else {
char *actual_payload =
- BUF_strndup((const char *)p, actual_payload_len);
+ OPENSSL_strndup((const char *)p, actual_payload_len);
if (strcmp(actual_payload, fixture.expected_return_payload) != 0) {
printf
("%s failed:\n expected payload: \"%s\"\n received: \"%s\"\n",