23 lines
949 B
Diff
23 lines
949 B
Diff
--- include/libssl_compat.h.orig 2016-11-21 13:28:40.000000000 +0100
|
|
+++ include/libssl_compat.h 2016-11-24 12:43:14.297426937 +0100
|
|
@@ -25,7 +25,7 @@
|
|
#include "openssl/rsa.h"
|
|
|
|
/* ----------------------------------------------------------------- */
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
/* ----------------------------------------------------------------- */
|
|
|
|
# include <openssl/objects.h>
|
|
--- libntp/libssl_compat.c.orig 2016-11-21 13:28:40.000000000 +0100
|
|
+++ libntp/libssl_compat.c 2016-11-24 12:43:34.507174281 +0100
|
|
@@ -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"
|