diff options
author | Jannis Voelker <jannis.voelker@basyskom.com> | 2022-11-15 16:07:51 +0100 |
---|---|---|
committer | Heikki Halmet <heikki.halmet@qt.io> | 2022-11-16 06:24:08 +0000 |
commit | 7615a64d006a10f15e1b44848e28a72a5680b1af (patch) | |
tree | 15773bdaf2625d59571b6f50f64cfdeb35c4d482 | |
parent | a92908f8419936bd7b74dbab1da9a9738140be2c (diff) |
Enable loading OpenSSL 3.0 DLLs on Windows
Change-Id: I10ac59acb24922cf6cc67cdaf32659cd575e89a4
Task-number: QTBUG-108253
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
-rw-r--r-- | src/opcua/x509/openssl_symbols.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/opcua/x509/openssl_symbols.cpp b/src/opcua/x509/openssl_symbols.cpp index a81486a..b7c1482 100644 --- a/src/opcua/x509/openssl_symbols.cpp +++ b/src/opcua/x509/openssl_symbols.cpp @@ -652,8 +652,13 @@ static LoadedOpenSsl loadOpenSsl() #define QT_SSL_SUFFIX #endif // !Q_PROCESSOR_x86_64 +#if QT_CONFIG(opensslv11) tryToLoadOpenSslWin32Library(QLatin1String("libssl-1_1" QT_SSL_SUFFIX), QLatin1String("libcrypto-1_1" QT_SSL_SUFFIX), result); +#elif QT_CONFIG(opensslv30) + tryToLoadOpenSslWin32Library(QLatin1String("libssl-3" QT_SSL_SUFFIX), + QLatin1String("libcrypto-3" QT_SSL_SUFFIX), result); +#endif #undef QT_SSL_SUFFIX |