From 6c686a31b30942741b3363e398734eb04103245b Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Wed, 8 May 2019 16:58:15 +0200 Subject: [PATCH] [build] Fixes cryptoplus compilation with LibreSSL on OpenBSD. --- libs/cryptoplus/include/cryptoplus/bio/bio_chain.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cryptoplus/include/cryptoplus/bio/bio_chain.hpp b/libs/cryptoplus/include/cryptoplus/bio/bio_chain.hpp index 88451b5b..89e9ff16 100644 --- a/libs/cryptoplus/include/cryptoplus/bio/bio_chain.hpp +++ b/libs/cryptoplus/include/cryptoplus/bio/bio_chain.hpp @@ -99,7 +99,7 @@ namespace cryptoplus boost::shared_ptr m_bio; }; -#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) +#if OPENSSL_VERSION_NUMBER >= 0x10100000L inline bio_chain::bio_chain(const BIO_METHOD* _type) : m_bio(BIO_new(_type), BIO_free_all) #else inline bio_chain::bio_chain(BIO_METHOD* _type) : m_bio(BIO_new(_type), BIO_free_all)