Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Unified Diff: webrtc/base/opensslstreamadapter.h

Issue 1774583002: Add IsAcceptableCipher, use instead of GetDefaultCipher. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: List another cipher suite Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/opensslstreamadapter.h
diff --git a/webrtc/base/opensslstreamadapter.h b/webrtc/base/opensslstreamadapter.h
index e57b2a3293d5942ae15226a778ed39907f965db8..5e640ebb284be24dc5fe841b84097e0c76a85e9c 100644
--- a/webrtc/base/opensslstreamadapter.h
+++ b/webrtc/base/opensslstreamadapter.h
@@ -113,6 +113,13 @@ class OpenSSLStreamAdapter : public SSLStreamAdapter {
static int GetDefaultSslCipherForTest(SSLProtocolVersion version,
KeyType key_type);
+ static bool IsAcceptableCipher(int cipher,
+ SSLProtocolVersion version,
+ KeyType key_type);
+ static bool IsAcceptableCipher(std::string cipher,
+ SSLProtocolVersion version,
+ KeyType key_type);
+
protected:
void OnEvent(StreamInterface* stream, int events, int err) override;

Powered by Google App Engine
This is Rietveld 408576698