summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_utst.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2016-02-14 06:52:12 +0100
committerBen Laurie <ben@links.org>2016-02-14 11:55:38 +0100
commit08934f1ab2f19061139f93fe2f1ee2470485b85c (patch)
treeb8e8b298de9621af5cca2d945b46aaa67e692235 /ssl/ssl_utst.c
parentMake sure a socklen_t can compare with a sizeof() result (diff)
downloadopenssl-08934f1ab2f19061139f93fe2f1ee2470485b85c.tar.xz
openssl-08934f1ab2f19061139f93fe2f1ee2470485b85c.zip
Don't test heartbeats when there aren't any.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/ssl_utst.c')
-rw-r--r--ssl/ssl_utst.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_utst.c b/ssl/ssl_utst.c
index 25ec77e20b..1a39cec8ed 100644
--- a/ssl/ssl_utst.c
+++ b/ssl/ssl_utst.c
@@ -59,7 +59,9 @@
static const struct openssl_ssl_test_functions ssl_test_functions = {
ssl_init_wbio_buffer,
ssl3_setup_buffers,
+# ifndef OPENSSL_NO_HEARTBEATS
dtls1_process_heartbeat
+# endif
};
const struct openssl_ssl_test_functions *SSL_test_functions(void)