diff options
| author | levlam <levlam@telegram.org> | 2024-09-30 16:03:00 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-09-30 16:03:00 +0300 |
| commit | 81f02dd9216a77468c083d58e853bca3bf2b6351 (patch) | |
| tree | b2ed6c1a364fde654996a71fa5fe42f627e3d2ed /tdnet | |
| parent | 44510f5b54599953070de7b2367f610aa70519d4 (diff) | |
Various improvements.
Diffstat (limited to 'tdnet')
| -rw-r--r-- | tdnet/td/net/SslStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdnet/td/net/SslStream.cpp b/tdnet/td/net/SslStream.cpp index c50efe375..22a3e078d 100644 --- a/tdnet/td/net/SslStream.cpp +++ b/tdnet/td/net/SslStream.cpp @@ -172,7 +172,7 @@ class SslStreamImpl { SSL_set_bio(ssl_handle.get(), bio, bio); #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) - if (r_ip_address.is_error()) { // IP address must not be send as SNI + if (r_ip_address.is_error()) { // IP address must not be sent as SNI LOG(DEBUG) << "Set SNI host name to " << host; auto host_str = host.str(); SSL_set_tlsext_host_name(ssl_handle.get(), MutableCSlice(host_str).begin()); |
