2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Build with Qt 5.12.5 and OpenSSL 1.1.1.

This commit is contained in:
John Preston
2019-10-11 10:32:26 +04:00
parent c6b3257412
commit 01936b5f1b
17 changed files with 116 additions and 100 deletions

View File

@@ -392,7 +392,6 @@ namespace ThirdParty {
} else {
LOG(("MTP Error: Could not init OpenSSL threads, CRYPTO_num_locks() returned zero!"));
}
CRYPTO_THREADID_set_callback(_sslThreadId);
}
if (!CRYPTO_get_dynlock_create_callback()) {
CRYPTO_set_dynlock_create_callback(_sslCreateFunction);
@@ -419,9 +418,7 @@ namespace ThirdParty {
#endif
ENGINE_cleanup();
CONF_modules_unload(1);
ERR_remove_state(0);
ERR_free_strings();
ERR_remove_thread_state(nullptr);
EVP_cleanup();
delete[] base::take(_sslLocks);