Don't compile heartbeat test code on Windows (for now).
[openssl.git] / ssl / heartbeat_test.c
index c770e9d71853a6361e782dde2874ca0170dc6682..eddadbe695a6b6f33b34bf7ceb67f73ea6bcee6c 100644 (file)
@@ -44,7 +44,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#ifndef OPENSSL_NO_HEARTBEATS
+#if !defined(OPENSSL_NO_HEARTBEATS) && !defined(OPENSSL_SYS_WINDOWS)
 
 /* As per https://tools.ietf.org/html/rfc6520#section-4 */
 #define MIN_PADDING_SIZE       16