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:05:26 +0000 (22:05 +0100)
commit756587dcb901d071682e1e6d7bde8a4461c60766
tree96689c2ea999ab293bad5f4f80cf8cba86903ef3
parent0a084f7b3a9050bd8096cb0e7d5fc45a5af31e4a
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