Mercurial > hg > orthanc
diff OrthancServer/OrthancInitialization.cpp @ 2272:0ad32aeae9f3 Barnerd/fix-build-with-libressl-completely-re-1488028252315
Fix build with LibreSSL
- Completely removed FIPS methods
author | Bernard Spil <bitbucket@brnrd.eu> |
---|---|
date | Sat, 25 Feb 2017 13:11:03 +0000 |
parents | fefbe71c2272 |
children |
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp Thu Nov 17 09:30:22 2016 +0100 +++ b/OrthancServer/OrthancInitialization.cpp Sat Feb 25 13:11:03 2017 +0000 @@ -534,7 +534,9 @@ #if ORTHANC_SSL_ENABLED == 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();