diff OrthancFramework/Sources/Toolbox.cpp @ 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 9086aeb9d9d2
children a6b7c29f5118 7053502fbf97
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()