Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake @ 4634:9a9118406484
fix issue #193
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 21 Apr 2021 10:44:49 +0200 |
parents | d9473bd5ed43 |
children | 0524d6e93672 |
comparison
equal
deleted
inserted
replaced
4633:37357df3dc27 | 4634:9a9118406484 |
---|---|
280 | 280 |
281 # The "OPENSSL_RAND_SEED_OS" value implies a syscall() to | 281 # The "OPENSSL_RAND_SEED_OS" value implies a syscall() to |
282 # "__NR_getrandom" (i.e. system call "getentropy(2)") in | 282 # "__NR_getrandom" (i.e. system call "getentropy(2)") in |
283 # "rand_unix.c", which is not available in LSB. | 283 # "rand_unix.c", which is not available in LSB. |
284 -DOPENSSL_RAND_SEED_DEVRANDOM | 284 -DOPENSSL_RAND_SEED_DEVRANDOM |
285 | |
286 # If "OPENSSL_NO_ERR" is not defined, the PostgreSQL plugin | |
287 # crashes with segmentation fault in function | |
288 # "build_SYS_str_reasons()", that is called from | |
289 # "OPENSSL_init_ssl()" | |
290 # https://bugs.orthanc-server.com/show_bug.cgi?id=193 | |
291 -DOPENSSL_NO_ERR | |
285 ) | 292 ) |
286 | 293 |
287 else() | 294 else() |
288 # Fixes error "OpenSSL error: error:2406C06E:random number | 295 # Fixes error "OpenSSL error: error:2406C06E:random number |
289 # generator:RAND_DRBG_instantiate:error retrieving entropy" that was | 296 # generator:RAND_DRBG_instantiate:error retrieving entropy" that was |