# HG changeset patch # User Sebastien Jodogne # Date 1786550420 -7200 # Node ID ecda882238064e7c5203bb4a671ff52558178089 # Parent 5205e2e5c3aeb70a8f87b4fbc4dca663cfdfbb22 report versions of openssl and protobuf diff -r 5205e2e5c3ae -r ecda88223806 OrthancServer/Sources/OrthancRestApi/ThirdPartyVersions.cpp --- a/OrthancServer/Sources/OrthancRestApi/ThirdPartyVersions.cpp Wed Aug 12 17:17:49 2026 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/ThirdPartyVersions.cpp Wed Aug 12 18:00:20 2026 +0200 @@ -27,16 +27,22 @@ #include #include #include +#include +#include +#include +#include #include -#include #include -#include -#include +#include #if ORTHANC_ENABLE_CIVETWEB == 1 # include #endif +#if ORTHANC_ENABLE_SSL == 1 +# include +#endif + #if ORTHANC_ENABLE_PUGIXML == 1 # include #endif @@ -61,9 +67,7 @@ boost::lexical_cast(DCMTK_VERSION_NUMBER / 10 % 10) + "." + boost::lexical_cast(DCMTK_VERSION_NUMBER % 10)); - target["jsoncpp"] = (boost::lexical_cast(JSONCPP_VERSION_MAJOR) + "." + - boost::lexical_cast(JSONCPP_VERSION_MINOR) + "." + - boost::lexical_cast(JSONCPP_VERSION_PATCH)); + target["jsoncpp"] = JSONCPP_VERSION_STRING; target["libcurl"] = LIBCURL_VERSION; @@ -78,12 +82,22 @@ boost::lexical_cast(LUA_VERSION_MINOR) + "." + boost::lexical_cast(LUA_VERSION_RELEASE)); +#if ORTHANC_ENABLE_SSL == 1 + target["openssl"] = (boost::lexical_cast(OPENSSL_VERSION_MAJOR) + "." + + boost::lexical_cast(OPENSSL_VERSION_MINOR) + "." + + boost::lexical_cast(OPENSSL_VERSION_PATCH)); +#endif + #if ORTHANC_ENABLE_PUGIXML == 1 target["pugixml"] = (boost::lexical_cast(PUGIXML_VERSION / 1000) + "." + boost::lexical_cast(PUGIXML_VERSION / 10 % 100) + "." + boost::lexical_cast(PUGIXML_VERSION % 10)); #endif + target["protobuf"] = (boost::lexical_cast(GOOGLE_PROTOBUF_VERSION / 1000000) + "." + + boost::lexical_cast(GOOGLE_PROTOBUF_VERSION / 1000 % 1000) + "." + + boost::lexical_cast(GOOGLE_PROTOBUF_VERSION % 1000)); + target["sqlite"] = SQLITE_VERSION; target["zlib"] = ZLIB_VERSION;