Mercurial > hg > orthanc-wsi
diff Resources/Orthanc/Core/HttpClient.cpp @ 107:a3e8ac8b7256
support for OpenBSD
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Aug 2017 11:10:48 +0200 |
parents | ff0ef01c332c |
children | a18bfe1fdd62 |
line wrap: on
line diff
--- a/Resources/Orthanc/Core/HttpClient.cpp Wed Mar 22 15:53:48 2017 +0100 +++ b/Resources/Orthanc/Core/HttpClient.cpp Wed Aug 23 11:10:48 2017 +0200 @@ -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();