From 08934f1ab2f19061139f93fe2f1ee2470485b85c Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 14 Feb 2016 05:52:12 +0000 Subject: Don't test heartbeats when there aren't any. Reviewed-by: Richard Levitte --- ssl/ssl_utst.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ssl/ssl_utst.c') 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) -- cgit v1.2.3