1diff -urEb openssl-1.1.1k.orig/crypto/rand/rand_unix.c openssl-1.1.1k/crypto/rand/rand_unix.c 2--- openssl-1.1.1k.orig/crypto/rand/rand_unix.c 2021-04-21 11:33:05.241258372 +0200 3+++ openssl-1.1.1k/crypto/rand/rand_unix.c 2021-04-21 11:34:48.705287133 +0200 4@@ -455,6 +455,7 @@ 5 * system call and this should always succeed which renders 6 * this alternative but essentially identical source moot. 7 */ 8+#if !defined(__LSB_VERSION__) // "syscall()" is not available in LSB 9 if (uname(&un) == 0) { 10 kernel[0] = atoi(un.release); 11 p = strchr(un.release, '.'); 12@@ -465,6 +466,7 @@ 13 return 0; 14 } 15 } 16+#endif 17 /* Open /dev/random and wait for it to be readable */ 18 if ((fd = open(DEVRANDOM_WAIT, O_RDONLY)) != -1) { 19 if (DEVRANDM_WAIT_USE_SELECT && fd < FD_SETSIZE) { 20