changeset 4634:9a9118406484

author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Apr 2021 10:44:49 +0200
parents 37357df3dc27
children 0524d6e93672
files OrthancFramework/Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake	Tue Apr 20 20:44:59 2021 +0200
+++ b/OrthancFramework/Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake	Wed Apr 21 10:44:49 2021 +0200
@@ -282,6 +282,13 @@
     # "__NR_getrandom" (i.e. system call "getentropy(2)") in
     # "rand_unix.c", which is not available in LSB.
     -DOPENSSL_RAND_SEED_DEVRANDOM
+
+    # If "OPENSSL_NO_ERR" is not defined, the PostgreSQL plugin
+    # crashes with segmentation fault in function
+    # "build_SYS_str_reasons()", that is called from
+    # "OPENSSL_init_ssl()"
+    # https://bugs.orthanc-server.com/show_bug.cgi?id=193
+    -DOPENSSL_NO_ERR
     )
 
 else()