Added OpenSSL version and location logging
This commit is contained in:
parent
f94e1e1660
commit
8366bb6247
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue