Source code

Revision control

Copy as Markdown

Other Tools

From: Michael Froman <mfroman@mozilla.com>
Date: Thu, 7 Aug 2025 11:37:00 -0500
Subject: Bug 1980479 - (fix-50544d8dc4) add missing stub implementations for
SSLStreamAdapter static methods.
---
rtc_base/ssl_stream_adapter.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/rtc_base/ssl_stream_adapter.h b/rtc_base/ssl_stream_adapter.h
index f8f817337a..d01c37c1ce 100644
--- a/rtc_base/ssl_stream_adapter.h
+++ b/rtc_base/ssl_stream_adapter.h
@@ -245,11 +245,12 @@ class SSLStreamAdapter : public StreamInterface {
static bool IsAcceptableCipher(int cipher, KeyType key_type);
static bool IsAcceptableCipher(absl::string_view cipher, KeyType key_type);
- static std::set<uint16_t> GetSupportedEphemeralKeyExchangeCipherGroups();
+ static std::set<uint16_t> GetSupportedEphemeralKeyExchangeCipherGroups()
+ { return {}; }
static std::optional<std::string> GetEphemeralKeyExchangeCipherGroupName(
uint16_t);
static std::vector<uint16_t> GetDefaultEphemeralKeyExchangeCipherGroups(
- const FieldTrialsView* field_trials);
+ const FieldTrialsView* field_trials) { return {}; }
////////////////////////////////////////////////////////////////////////////
// Testing only member functions