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 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 << '"'); }