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_1h~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=46bfc05480478e640d60aaf6ef09a2a913b15164;p=oweals%2Fopenssl.git 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