Fix heartbeat_test
authorMatt Caswell <matt@openssl.org>
Wed, 2 Nov 2016 15:36:06 +0000 (15:36 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 2 Nov 2016 15:37:20 +0000 (15:37 +0000)
commitad69a30323cbc6723c2387d6ce546a51b10c42d0
tree1f88c3f5b37601ada4ad9e4823f921c4c8a9dc77
parentba2bf831c0f0b3468acbd433957f4c46c20cf43d
Fix heartbeat_test

The heartbeat_test reaches into the internals of libssl and calls some
internal functions. It then checks the return value to check its what it
expected. However commit fa4c37457 changed the return value of these
internal functions, and now the test is failing.

The solution is to update the test to look for the new return value.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/heartbeat_test.c