Fix heartbeat_test for -DOPENSSL_NO_HEARTBEATS
authorMike Bland <mbland@acm.org>
Thu, 22 May 2014 18:41:47 +0000 (14:41 -0400)
committerBen Laurie <ben@links.org>
Thu, 22 May 2014 21:02:46 +0000 (22:02 +0100)
commit8db2ba4b847bf38673cea16206a4a431480f6de7
treea3644bfc3340564f9fc22075e0d70693054d44c6
parentd77501d8fd1a49ff82e2824ded6f341f4fc8307a
Fix heartbeat_test for -DOPENSSL_NO_HEARTBEATS

Replaces the entire test with a trivial implementation when
OPENSSL_NO_HEARTBEATS is defined.
ssl/heartbeat_test.c