Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2156:2fd8c1fa6076 | 2272:0ad32aeae9f3 |
---|---|
532 #endif | 532 #endif |
533 | 533 |
534 #if ORTHANC_SSL_ENABLED == 1 | 534 #if ORTHANC_SSL_ENABLED == 1 |
535 // Finalize OpenSSL | 535 // Finalize OpenSSL |
536 // https://wiki.openssl.org/index.php/Library_Initialization#Cleanup | 536 // https://wiki.openssl.org/index.php/Library_Initialization#Cleanup |
537 #ifdef FIPS_mode_set | |
537 FIPS_mode_set(0); | 538 FIPS_mode_set(0); |
539 #endif | |
538 ENGINE_cleanup(); | 540 ENGINE_cleanup(); |
539 CONF_modules_unload(1); | 541 CONF_modules_unload(1); |
540 EVP_cleanup(); | 542 EVP_cleanup(); |
541 CRYPTO_cleanup_all_ex_data(); | 543 CRYPTO_cleanup_all_ex_data(); |
542 ERR_remove_state(0); | 544 ERR_remove_state(0); |