Index: webrtc/base/sslstreamadapter.h |
diff --git a/webrtc/base/sslstreamadapter.h b/webrtc/base/sslstreamadapter.h |
index c57056b14ad1b2336b1527c00bd7c24059ff02f0..9fed6f7cd3649c58488a450706e185faed2bcbfc 100644 |
--- a/webrtc/base/sslstreamadapter.h |
+++ b/webrtc/base/sslstreamadapter.h |
@@ -189,11 +189,10 @@ class SSLStreamAdapter : public StreamAdapterInterface { |
static bool HaveDtlsSrtp(); |
static bool HaveExporter(); |
- // Returns the default Ssl cipher used between streams of this class |
- // for the given protocol version. This is used by the unit tests. |
- // TODO(guoweis): Move this away from a static class method. |
- static int GetDefaultSslCipherForTest(SSLProtocolVersion version, |
- KeyType key_type); |
+ // Returns true iff the supplied cipher is deemed to be strong. |
+ // TODO(torbjorng): Consider removing the KeyType argument. |
+ static bool IsAcceptableCipher(int cipher, KeyType key_type); |
+ static bool IsAcceptableCipher(std::string cipher, KeyType key_type); |
// TODO(guoweis): Move this away from a static class method. Currently this is |
// introduced such that any caller could depend on sslstreamadapter.h without |