Don't test heartbeats when there aren't any.
[openssl.git] / ssl / ssl_utst.c
index 25ec77e..1a39cec 100644 (file)
@@ -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)