Mercurial > hg > orthanc
comparison Resources/Patches/openssl-1.1.1d.patch @ 3731:e7ff4f9b34bd storage-commitment
integration mainline->storage-commitment
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Mar 2020 17:19:45 +0100 |
parents | faa695f433d5 |
children |
comparison
equal
deleted
inserted
replaced
3718:922c56b76edc | 3731:e7ff4f9b34bd |
---|---|
1 diff -urEb openssl-1.1.1d.orig/crypto/rand/rand_unix.c openssl-1.1.1d/crypto/rand/rand_unix.c | |
2 --- openssl-1.1.1d.orig/crypto/rand/rand_unix.c 2019-09-10 15:13:07.000000000 +0200 | |
3 +++ openssl-1.1.1d/crypto/rand/rand_unix.c 2020-03-05 16:29:33.030136203 +0100 | |
4 @@ -340,7 +340,7 @@ | |
5 # endif | |
6 | |
7 /* Linux supports this since version 3.17 */ | |
8 -# if defined(__linux) && defined(__NR_getrandom) | |
9 +# if defined(__linux) && defined(__NR_getrandom) && !defined(__LSB_VERSION__) | |
10 return syscall(__NR_getrandom, buf, buflen, 0); | |
11 # elif (defined(__FreeBSD__) || defined(__NetBSD__)) && defined(KERN_ARND) | |
12 return sysctl_random(buf, buflen); |