From 1108e436d580a09150f2c1029ae4230f1f062b7b Mon Sep 17 00:00:00 2001 From: Frank Ueberschar Date: Mon, 1 Oct 2018 17:36:48 +0200 Subject: [PATCH] traymon: added openssl initialization code --- core/src/qt-tray-monitor/tray-monitor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/qt-tray-monitor/tray-monitor.cc b/core/src/qt-tray-monitor/tray-monitor.cc index ce469cd8b3e..808f814f769 100644 --- a/core/src/qt-tray-monitor/tray-monitor.cc +++ b/core/src/qt-tray-monitor/tray-monitor.cc @@ -209,6 +209,10 @@ int main(int argc, char *argv[]) exit(0); } + if (InitCrypto() != 0) { + Emsg0(M_ERROR_TERM, 0, _("Cryptography library initialization failed.\n")); + } + // this is the Qt core application // with its message handler app = new QApplication(argc, argv);