From b49c1750b8c300e64ea14dd28b442cac5d5530cd Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Thu, 15 Dec 2016 20:22:14 +0000 Subject: Fix build with LibreSSL. PR: 215323 Submitted by: naddy --- net/ntp/files/patch-libntp_libssl__compat.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/ntp/files/patch-libntp_libssl__compat.c (limited to 'net/ntp/files/patch-libntp_libssl__compat.c') diff --git a/net/ntp/files/patch-libntp_libssl__compat.c b/net/ntp/files/patch-libntp_libssl__compat.c new file mode 100644 index 000000000000..14117da9c86e --- /dev/null +++ b/net/ntp/files/patch-libntp_libssl__compat.c @@ -0,0 +1,11 @@ +--- libntp/libssl_compat.c.orig 2016-11-21 12:28:40 UTC ++++ libntp/libssl_compat.c +@@ -23,7 +23,7 @@ + #include "ntp_types.h" + + /* ----------------------------------------------------------------- */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + /* ----------------------------------------------------------------- */ + + #include "libssl_compat.h" -- cgit v1.2.3