diff --git a/libs/aviso/src/aviso/etcd/Client.cpp b/libs/aviso/src/aviso/etcd/Client.cpp index afed1c0af..aaf6b08ab 100644 --- a/libs/aviso/src/aviso/etcd/Client.cpp +++ b/libs/aviso/src/aviso/etcd/Client.cpp @@ -10,8 +10,15 @@ #include "aviso/etcd/Client.hpp" +#include + #if defined(ECF_OPENSSL) - #define CPPHTTPLIB_OPENSSL_SUPPORT + #include + #if OPENSSL_VERSION_NUMBER < 0x1010100fL + #warning OpenSSL versions prior to 1.1.1 detected. Aviso ETCD HTTP client will be build without OpenSSL support! + #else + #define CPPHTTPLIB_OPENSSL_SUPPORT + #endif #endif #include @@ -37,6 +44,7 @@ struct Client::Impl }; Client::Client(const Address& address) : impl_(std::make_unique(address)) { + std::cout << OPENSSL_VERSION_NUMBER << std::endl; } Client::~Client() = default;