--- a/src/lib/cryptolink/openssl_link.cc
+++ b/src/lib/cryptolink/openssl_link.cc
@@ -77,7 +77,7 @@ CryptoLink::initialize(CryptoLink& c) {
 
 std::string
 CryptoLink::getVersion() {
-    return (SSLeay_version(SSLEAY_VERSION));
+    return (OpenSSL_version(OPENSSL_VERSION));
 }
 
 } // namespace cryptolink
