Skip to content

Commit

Permalink
[build] Fixes cryptoplus compilation with LibreSSL on OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed May 8, 2019
1 parent d96d3fe commit 6c686a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/cryptoplus/include/cryptoplus/bio/bio_chain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ namespace cryptoplus
boost::shared_ptr<BIO> 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)
Expand Down

0 comments on commit 6c686a3

Please sign in to comment.