view Resources/Patches/openssl-1.1.1d.patch @ 3863:9973d10bc5c4 transcoding

switch to DicomStoreUserConnection in Lua routing, C-MOVE handler and straight C-STORE
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 27 Apr 2020 18:16:20 +0200
parents faa695f433d5
children
line wrap: on
line source

diff -urEb openssl-1.1.1d.orig/crypto/rand/rand_unix.c openssl-1.1.1d/crypto/rand/rand_unix.c
--- openssl-1.1.1d.orig/crypto/rand/rand_unix.c	2019-09-10 15:13:07.000000000 +0200
+++ openssl-1.1.1d/crypto/rand/rand_unix.c	2020-03-05 16:29:33.030136203 +0100
@@ -340,7 +340,7 @@
 #  endif
 
     /* Linux supports this since version 3.17 */
-#  if defined(__linux) && defined(__NR_getrandom)
+#  if defined(__linux) && defined(__NR_getrandom) && !defined(__LSB_VERSION__)
     return syscall(__NR_getrandom, buf, buflen, 0);
 #  elif (defined(__FreeBSD__) || defined(__NetBSD__)) && defined(KERN_ARND)
     return sysctl_random(buf, buflen);