commit | 02948ecc8392d4fc34a50609dc001170d2ae37cf | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Sep 12 18:04:50 2016 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Sep 12 19:48:38 2016 -0700 |
tree | 4a2a37229ea83dd95b2f8b426e64ac38f0378725 | |
parent | b8deee0eec8beac962ad489daf9ee6372e278429 [diff] [blame] |
security: Add support for OpenSSL 1.1.0 API Change-Id: I8deb4c5c5cbc1755b492ccd12707d83764a91ad7 Refs: #3757
diff --git a/src/security/detail/openssl-helper.cpp b/src/security/detail/openssl-helper.cpp index 3a7140d..8f8422a 100644 --- a/src/security/detail/openssl-helper.cpp +++ b/src/security/detail/openssl-helper.cpp
@@ -63,7 +63,11 @@ EVP_PKEY_CTX_free(m_ctx); } +#if OPENSSL_VERSION_NUMBER < 0x1010000fL Bio::Bio(BIO_METHOD* method) +#else +Bio::Bio(const BIO_METHOD* method) +#endif // OPENSSL_VERSION_NUMBER < 0x1010000fL : m_bio(BIO_new(method)) { BOOST_ASSERT(m_bio != nullptr);