1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

science/orthanc: Fix build with LibreSSL

- LibreSSL removed FIPS support completely

PR:		217352
Approved by:	mp39590@gmail.com (maintainer)
Obtained from:	https://bitbucket.org/sjodogne/orthanc/pull-requests/4
This commit is contained in:
Bernard Spil 2017-03-26 10:30:44 +00:00
parent 591f45697c
commit ff7c06070b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436950

View File

@ -0,0 +1,12 @@
--- OrthancServer/OrthancInitialization.cpp.orig 2016-06-27 11:02:35 UTC
+++ OrthancServer/OrthancInitialization.cpp
@@ -534,7 +534,9 @@ namespace Orthanc
#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();