Группа :: Разработка/C++
Пакет: tdlib
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: tdlib-system-crypto.patch
Скачать
Скачать
diff --git a/td/tdnet/td/net/SslCtx.cpp b/td/tdnet/td/net/SslCtx.cpp
index 913a020..fb7bc94 100644
--- a/td/tdnet/td/net/SslCtx.cpp
+++ b/td/tdnet/td/net/SslCtx.cpp
@@ -209,7 +209,7 @@ Result<SslCtxPtr> do_create_ssl_ctx(CSlice cert_file, SslCtx::VerifyPeer verify_
}
string cipher_list;
- if (SSL_CTX_set_cipher_list(ssl_ctx, cipher_list.empty() ? "DEFAULT" : cipher_list.c_str()) == 0) {
+ if (SSL_CTX_set_cipher_list(ssl_ctx, cipher_list.empty() ? "PROFILE=SYSTEM" : cipher_list.c_str()) == 0) {
return create_openssl_error(-9, PSLICE() << "Failed to set cipher list \"" << cipher_list << '"');
}