# HG changeset patch # User Sebastien Jodogne # Date 1542127803 -3600 # Node ID 89f2c302fc377044fd3963d73ccb31b31985bd40 # Parent 8341256c694152634c4e6321e747452bc71f86bd Fix issue #114 diff -r 8341256c6941 -r 89f2c302fc37 Core/Toolbox.cpp --- a/Core/Toolbox.cpp Tue Nov 13 16:21:13 2018 +0100 +++ b/Core/Toolbox.cpp Tue Nov 13 17:50:03 2018 +0100 @@ -40,8 +40,13 @@ #include #include #include -#include -#include +#include + +#if BOOST_VERSION >= 106600 +# include +#else +# include +#endif #include #include @@ -51,6 +56,8 @@ #if ORTHANC_ENABLE_MD5 == 1 +// TODO - Could be replaced by starting +// with Boost >= 1.66.0 # include "../Resources/ThirdParty/md5/md5.h" #endif diff -r 8341256c6941 -r 89f2c302fc37 NEWS --- a/NEWS Tue Nov 13 16:21:13 2018 +0100 +++ b/NEWS Tue Nov 13 17:50:03 2018 +0100 @@ -33,6 +33,7 @@ * Remove invalid characters from badly-encoded UTF-8 strings (impacts PostgreSQL) * Orthanc starts even if jobs from a previous execution cannot be unserialized * New CMake option "ENABLE_DCMTK_LOG" to disable logging internal to DCMTK +* Fix issue 114 (Boost 1.68 doesn't support SHA-1 anymore) * Upgraded dependencies for static and Windows builds: - boost 1.68.0