Blame patches/libressl-3.7.2.local.patch

ba460e
diff -ru libressl-3.7.1.orig/crypto/compat/arc4random_linux.h libressl-3.7.1/crypto/compat/arc4random_linux.h
ba460e
--- libressl-3.7.1.orig/crypto/compat/arc4random_linux.h	2023-05-14 00:44:53.716886970 +0200
ba460e
+++ libressl-3.7.1/crypto/compat/arc4random_linux.h	2023-05-14 00:44:32.052886839 +0200
ba460e
@@ -27,6 +27,7 @@
ba460e
 
ba460e
 #include <pthread.h>
ba460e
 #include <signal.h>
ba460e
+#include <stdio.h>
ba460e
 
ba460e
 static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
ba460e
 #define _ARC4_LOCK()   pthread_mutex_lock(&arc4random_mtx)
ba460e
@@ -43,6 +44,7 @@
ba460e
 static inline void
ba460e
 _getentropy_fail(void)
ba460e
 {
ba460e
+	fprintf(stderr, "Couldn't obtain randomness from getentropy\n");
ba460e
 	raise(SIGKILL);
ba460e
 }
ba460e