diff options
author | brnrd <brnrd@FreeBSD.org> | 2017-03-26 18:30:44 +0800 |
---|---|---|
committer | brnrd <brnrd@FreeBSD.org> | 2017-03-26 18:30:44 +0800 |
commit | e891c701fd78cf83cd82ce12a3df7776cedc993c (patch) | |
tree | 416674154510630abbf84e0a58c88554626c55ce /science | |
parent | 14a815ad2d7fceed91fa25902c08c3adb80b45e0 (diff) | |
download | freebsd-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.cpp | 12 |
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(); |