# HG changeset patch # User Sebastien Jodogne # Date 1618994689 -7200 # Node ID 9a911840648411dcd4530c0b8ee22c698325bae6 # Parent 37357df3dc27f8136dfe22120f56f90a530339fb fix issue 193 diff -r 37357df3dc27 -r 9a9118406484 OrthancFramework/Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake --- 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()