From 7c08bdc3791f7b81ee7a14b193a07b85746c44f9 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 15 Feb 2017 13:22:19 +0100 Subject: [PATCH] [master] Added libreSSL as old (< 1.1) OpenSSL API --- src/lib/cryptolink/openssl_compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/cryptolink/openssl_compat.h b/src/lib/cryptolink/openssl_compat.h index 886d951df1..c24ec3c9fb 100644 --- a/src/lib/cryptolink/openssl_compat.h +++ b/src/lib/cryptolink/openssl_compat.h @@ -1,4 +1,4 @@ -// Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2016-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -6,7 +6,7 @@ #include -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x10100000L) // This file is included by hash and hmac codes so KEA_H* macros // avoid to define unused inlines. -- 2.47.3