changeset 4706:dbee8bd8ee1f

display OpenSSL version in the logs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Jun 2021 09:13:03 +0200
parents 68635d365a27
children 81ad9d8a0fa6
files OrthancFramework/Sources/Toolbox.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.cpp	Mon Jun 21 17:55:53 2021 +0200
+++ b/OrthancFramework/Sources/Toolbox.cpp	Tue Jun 22 09:13:03 2021 +0200
@@ -1703,6 +1703,7 @@
    **/
   void Toolbox::InitializeOpenSsl()
   {
+    LOG(INFO) << "OpenSSL is disabled";
   }
   
   void Toolbox::FinalizeOpenSsl()
@@ -1717,6 +1718,8 @@
    **/
   void Toolbox::InitializeOpenSsl()
   {
+    LOG(INFO) << "OpenSSL version: " << OPENSSL_VERSION_TEXT;
+    
     // https://wiki.openssl.org/index.php/Library_Initialization
     SSL_library_init();
     SSL_load_error_strings();
@@ -1753,6 +1756,7 @@
    **/
   void Toolbox::InitializeOpenSsl()
   {
+    LOG(INFO) << "OpenSSL version: " << OPENSSL_VERSION_TEXT;
   }
 
   void Toolbox::FinalizeOpenSsl()