Index: webrtc/base/opensslstreamadapter.cc |
diff --git a/webrtc/base/opensslstreamadapter.cc b/webrtc/base/opensslstreamadapter.cc |
index ed2505e8b7fe28c0b14e285470e3c149462db4e0..33129d9a5f7b84263fd7d94220846e4fdcd7f7e0 100644 |
--- a/webrtc/base/opensslstreamadapter.cc |
+++ b/webrtc/base/opensslstreamadapter.cc |
@@ -1127,8 +1127,8 @@ bool OpenSSLStreamAdapter::HaveExporter() { |
std::string OpenSSLStreamAdapter::GetDefaultSslCipher( |
SSLProtocolVersion version, |
- KeyType key_type) { |
- if (key_type == KT_RSA) { |
+ KeyTypeFull key_type) { |
+ if (key_type.type() == KT_RSA) { |
switch (version) { |
case SSL_PROTOCOL_TLS_10: |
case SSL_PROTOCOL_TLS_11: |
@@ -1145,7 +1145,7 @@ std::string OpenSSLStreamAdapter::GetDefaultSslCipher( |
return kDefaultSslCipher12; |
#endif |
} |
- } else if (key_type == KT_ECDSA) { |
+ } else if (key_type.type() == KT_ECDSA) { |
switch (version) { |
case SSL_PROTOCOL_TLS_10: |
case SSL_PROTOCOL_TLS_11: |