Index: chrome/common/extensions/api/networking_private/networking_private_crypto.cc |
diff --git a/chrome/common/extensions/api/networking_private/networking_private_crypto.cc b/chrome/common/extensions/api/networking_private/networking_private_crypto.cc |
index 7a3c5f31c68bc4ab4af72a1948ae68759f06de0b..bf2320ed6994f5adfd49ea83f48cdda30df8b57a 100644 |
--- a/chrome/common/extensions/api/networking_private/networking_private_crypto.cc |
+++ b/chrome/common/extensions/api/networking_private/networking_private_crypto.cc |
@@ -65,7 +65,8 @@ bool VerifyCredentials( |
std::string common_name = verification_context->GetCommonName(); |
std::string translated_mac; |
base::RemoveChars(connected_mac, ":", &translated_mac); |
- if (!base::EndsWith(common_name, translated_mac, false)) { |
+ if (!base::EndsWith(common_name, translated_mac, |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
LOG(ERROR) << kErrorPrefix << "MAC addresses don't match."; |
return false; |
} |