diff --git a/src/qt/winshutdownmonitor.cpp b/src/qt/winshutdownmonitor.cpp --- a/src/qt/winshutdownmonitor.cpp +++ b/src/qt/winshutdownmonitor.cpp @@ -6,9 +6,6 @@ #if defined(Q_OS_WIN) #include -#include - -#include #include @@ -22,19 +19,6 @@ MSG *pMsg = static_cast(pMessage); - // Seed OpenSSL PRNG with Windows event data (e.g. mouse movements and - // other user interactions) - if (RAND_event(pMsg->message, pMsg->wParam, pMsg->lParam) == 0) { - // Warn only once as this is performance-critical - static bool warned = false; - if (!warned) { - LogPrintf("%s: OpenSSL RAND_event() failed to seed OpenSSL PRNG " - "with enough data.\n", - __func__); - warned = true; - } - } - switch (pMsg->message) { case WM_QUERYENDSESSION: { // Initiate a client shutdown after receiving a WM_QUERYENDSESSION