Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/lib/cryptolink/openssl_link.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
#include <openssl/crypto.h>
#include <openssl/rand.h>

#if OPENSSL_VERSION_NUMBER < 0x10100000L
#define OPENSSL_VERSION SSLEAY_VERSION
#define OpenSSL_version SSLeay_version
#endif

namespace isc {
namespace cryptolink {

Expand Down Expand Up @@ -79,7 +84,7 @@ CryptoLink::initialize() {

std::string
CryptoLink::getVersion() {
return (SSLeay_version(SSLEAY_VERSION));
return (OpenSSL_version(OPENSSL_VERSION);
}

} // namespace cryptolink
Expand Down