From dfd34bf9c0ad055e76c1b6f272c21eb0d79536ce Mon Sep 17 00:00:00 2001 From: Silarn Date: Wed, 3 Jul 2019 19:12:54 -0500 Subject: Update openssl library names --- src/main.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index b7176ee1..4a2f6035 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -459,8 +459,13 @@ void preloadDll(const QString& filename) void preloadSsl() { - preloadDll("libeay32.dll"); - preloadDll("ssleay32.dll"); +#if Q_PROCESSOR_WORDSIZE == 8 + preloadDll("libcrypto-1_1-x64.dll"); + preloadDll("libssl-1_1-x64.dll"); +#elif Q_PROCESSOR_WORDSIZE == 4 + preloadDll("libcrypto-1_1.dll"); + preloadDll("libssl-1_1.dll"); +#endif } static QString getVersionDisplayString() -- cgit v1.3.1