Don't compile heartbeat test code on Windows (for now).
authorDr. Stephen Henson <steve@openssl.org>
Fri, 30 May 2014 12:10:08 +0000 (13:10 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 30 May 2014 12:12:26 +0000 (13:12 +0100)
(cherry picked from commit 2c575907d2c8601a18716f718ce309ed4e1f1783)

ssl/heartbeat_test.c

index f339c4a16803d18dfbed872b0f5b173c1d19bcaa..d8cc559981c4446bd0ca0bc11733ee521e6f0890 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