diff --git a/AUTHORS b/AUTHORS index a0632d20fa..7506cba09e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -146,6 +146,7 @@ HyperConnect Inc. <*@hpcnt.com> Intel Corporation <*@intel.com> LG Electronics, Inc. <*@lge.com> Life On Air Inc. <*@lifeonair.com> +Meta Platforms, Inc. <*@meta.com> Microsoft Corporation <*@microsoft.com> MIPS Technologies <*@mips.com> Mozilla Foundation <*@mozilla.com> diff --git a/rtc_base/openssl_stream_adapter.cc b/rtc_base/openssl_stream_adapter.cc index da484ad3bf..61bf6743d6 100644 --- a/rtc_base/openssl_stream_adapter.cc +++ b/rtc_base/openssl_stream_adapter.cc @@ -390,9 +390,10 @@ std::string OpenSSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) { } return SSL_CIPHER_standard_name(ssl_cipher); #else + const int openssl_cipher_id = 0x03000000L | cipher_suite; for (const SslCipherMapEntry* entry = kSslCipherMap; entry->rfc_name; ++entry) { - if (cipher_suite == static_cast(entry->openssl_id)) { + if (openssl_cipher_id == static_cast(entry->openssl_id)) { return entry->rfc_name; } }