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

Unified Diff: net/base/x509_cert_types_unittest.cc

Issue 9358080: Properly parse UTF8Strings in certificates on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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: net/base/x509_cert_types_unittest.cc
diff --git a/net/base/x509_cert_types_mac_unittest.cc b/net/base/x509_cert_types_unittest.cc
similarity index 99%
rename from net/base/x509_cert_types_mac_unittest.cc
rename to net/base/x509_cert_types_unittest.cc
index e4809b0db41c24ee5e8a91ca91717ed21204bf34..af1b65b122cca80550a666632977e526922b4e05 100644
--- a/net/base/x509_cert_types_mac_unittest.cc
+++ b/net/base/x509_cert_types_unittest.cc
@@ -213,6 +213,7 @@ static const uint8 EntrustDN[] = {
namespace net {
+#if defined(OS_MACOSX)
TEST(X509TypesTest, Matching) {
CertPrincipal spamco;
spamco.common_name = "SpamCo Dept. Of Certificization";
@@ -249,6 +250,7 @@ TEST(X509TypesTest, Matching) {
EXPECT_FALSE(bogus.Matches(spamco));
EXPECT_FALSE(spamco.Matches(bogus));
}
+#endif
TEST(X509TypesTest, ParseDNVerisign) {
CertPrincipal verisign;

Powered by Google App Engine
This is Rietveld 408576698