aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorbrnrd <brnrd@FreeBSD.org>2017-03-26 18:30:44 +0800
committerbrnrd <brnrd@FreeBSD.org>2017-03-26 18:30:44 +0800
commite891c701fd78cf83cd82ce12a3df7776cedc993c (patch)
tree416674154510630abbf84e0a58c88554626c55ce /science
parent14a815ad2d7fceed91fa25902c08c3adb80b45e0 (diff)
downloadfreebsd-ports-gnome-e891c701fd78cf83cd82ce12a3df7776cedc993c.tar.gz
freebsd-ports-gnome-e891c701fd78cf83cd82ce12a3df7776cedc993c.tar.zst
freebsd-ports-gnome-e891c701fd78cf83cd82ce12a3df7776cedc993c.zip
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
Diffstat (limited to 'science')
-rw-r--r--science/orthanc/files/patch-OrthancServer_OrthancInitialization.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/science/orthanc/files/patch-OrthancServer_OrthancInitialization.cpp b/science/orthanc/files/patch-OrthancServer_OrthancInitialization.cpp
new file mode 100644
index 000000000000..6f9987a69e3f
--- /dev/null
+++ b/science/orthanc/files/patch-OrthancServer_OrthancInitialization.cpp
@@ -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();