comparison Resources/Orthanc/Core/HttpClient.cpp @ 42:81e2651dca17

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Apr 2017 12:03:25 +0200
parents 7207a407bcd8
children
comparison
equal deleted inserted replaced
41:ed07f4bbf1a8 42:81e2651dca17
821 } 821 }
822 822
823 823
824 void HttpClient::FinalizeOpenSsl() 824 void HttpClient::FinalizeOpenSsl()
825 { 825 {
826 #if ORTHANC_ENABLE_SSL == 1 826 #if ORTHANC_ENABLE_SSL == 1
827 // Finalize OpenSSL 827 // Finalize OpenSSL
828 // https://wiki.openssl.org/index.php/Library_Initialization#Cleanup 828 // https://wiki.openssl.org/index.php/Library_Initialization#Cleanup
829 #ifdef FIPS_mode_set
829 FIPS_mode_set(0); 830 FIPS_mode_set(0);
831 #endif
830 ENGINE_cleanup(); 832 ENGINE_cleanup();
831 CONF_modules_unload(1); 833 CONF_modules_unload(1);
832 EVP_cleanup(); 834 EVP_cleanup();
833 CRYPTO_cleanup_all_ex_data(); 835 CRYPTO_cleanup_all_ex_data();
834 ERR_remove_state(0); 836 ERR_remove_state(0);