summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp9
1 files changed, 7 insertions, 2 deletions
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()