Don't test heartbeats when there aren't any.
[openssl.git] / ssl / ssl_utst.c
index 25ec77e20b03c99080f5fb32195a913ee00524e5..1a39cec8edaa52d60b88ffa697ed82806e343636 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)