Mercurial > hg > orthanc
comparison Resources/Patches/openssl-1.1.1f.patch @ 3803:e9834343d327
upgrade to openssl 1.1.1f
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 Apr 2020 13:25:48 +0200 |
parents | |
children | cdb429340112 |
comparison
equal
deleted
inserted
replaced
3802:6462ecaa045b | 3803:e9834343d327 |
---|---|
1 diff -urEb openssl-1.1.1f.orig/crypto/rand/rand_unix.c openssl-1.1.1f/crypto/rand/rand_unix.c | |
2 --- openssl-1.1.1f.orig/crypto/rand/rand_unix.c 2020-04-02 13:14:23.195439492 +0200 | |
3 +++ openssl-1.1.1f/crypto/rand/rand_unix.c 2020-04-02 13:15:18.079473769 +0200 | |
4 @@ -387,7 +387,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); |