| diff -ru libressl-3.7.1.orig/crypto/compat/arc4random_linux.h libressl-3.7.1/crypto/compat/arc4random_linux.h |
| |
| |
| @@ -27,6 +27,7 @@ |
| |
| #include <pthread.h> |
| #include <signal.h> |
| +#include <stdio.h> |
| |
| static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER; |
| #define _ARC4_LOCK() pthread_mutex_lock(&arc4random_mtx) |
| @@ -43,6 +44,7 @@ |
| static inline void |
| _getentropy_fail(void) |
| { |
| + fprintf(stderr, "rebuild psxscl with devurandom patch\n"); |
| raise(SIGKILL); |
| } |
| |