From: Dr. Stephen Henson Date: Fri, 30 May 2014 12:10:08 +0000 (+0100) Subject: Don't compile heartbeat test code on Windows (for now). X-Git-Tag: OpenSSL_1_0_2-beta2~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5bdde9e0e40a3e1e543d6818c370cef4020d3cb;p=openssl Don't compile heartbeat test code on Windows (for now). (cherry picked from commit 2c575907d2c8601a18716f718ce309ed4e1f1783) --- diff --git a/ssl/heartbeat_test.c b/ssl/heartbeat_test.c index f339c4a168..d8cc559981 100644 --- a/ssl/heartbeat_test.c +++ b/ssl/heartbeat_test.c @@ -44,7 +44,7 @@ #include #include -#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