From 8366bb6247e1c6bd924e890f2162b5b73cda5a7a Mon Sep 17 00:00:00 2001 From: Adam Potolsky Date: Wed, 10 Jun 2015 10:20:59 -0700 Subject: [PATCH] Added OpenSSL version and location logging --- src/lib/plugin/ns/SecureSocket.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/plugin/ns/SecureSocket.cpp b/src/lib/plugin/ns/SecureSocket.cpp index e3e88f06..11da4c48 100644 --- a/src/lib/plugin/ns/SecureSocket.cpp +++ b/src/lib/plugin/ns/SecureSocket.cpp @@ -240,6 +240,12 @@ SecureSocket::initContext(bool server) // load all error messages SSL_load_error_strings(); + LOG((CLOG_INFO "%s",SSLeay_version (SSLEAY_VERSION))); + LOG((CLOG_DEBUG2 "OpenSSL : %s",SSLeay_version (SSLEAY_CFLAGS))); + LOG((CLOG_DEBUG2 "OpenSSL : %s",SSLeay_version (SSLEAY_BUILT_ON))); + LOG((CLOG_DEBUG2 "OpenSSL : %s",SSLeay_version (SSLEAY_PLATFORM))); + LOG((CLOG_DEBUG2 "%s",SSLeay_version (SSLEAY_DIR))); + // SSLv23_method uses TLSv1, with the ability to fall back to SSLv3 if (server) { method = SSLv23_server_method();