# HG changeset patch # User Bernard Spil # Date 1488028366 0 # Node ID 512e69a0c7611c24c7c1abc42772ea505fe434b0 # Parent 8e53a2acdf21bfc8672e50346611795cac663efd Fix build with LibreSSL - LibreSSL completely removed FIPS Remove spurious space diff -r 8e53a2acdf21 -r 512e69a0c761 Core/HttpClient.cpp --- a/Core/HttpClient.cpp Wed Feb 22 22:04:41 2017 +0100 +++ b/Core/HttpClient.cpp Sat Feb 25 13:12:46 2017 +0000 @@ -823,10 +823,12 @@ void HttpClient::FinalizeOpenSsl() { - #if ORTHANC_ENABLE_SSL == 1 +#if ORTHANC_ENABLE_SSL == 1 // Finalize OpenSSL // https://wiki.openssl.org/index.php/Library_Initialization#Cleanup +#ifdef FIPS_mode_set FIPS_mode_set(0); +#endif ENGINE_cleanup(); CONF_modules_unload(1); EVP_cleanup();