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

Unified Diff: net/base/ev_root_ca_metadata.cc

Issue 9663017: net: add OCSP tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 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
« no previous file with comments | « no previous file | net/data/ssl/certificates/README » ('j') | net/test/test_server.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ev_root_ca_metadata.cc
diff --git a/net/base/ev_root_ca_metadata.cc b/net/base/ev_root_ca_metadata.cc
index b387912e7d58d8e0f27137bc0a7c1a0e5730cb79..75b9895d41d2d526ee61ce18fff3d713f7355147 100644
--- a/net/base/ev_root_ca_metadata.cc
+++ b/net/base/ev_root_ca_metadata.cc
@@ -286,7 +286,13 @@ static const EVMetadata ev_root_ca_metadata[] = {
{ { { 0xb8, 0x01, 0x86, 0xd1, 0xeb, 0x9c, 0x86, 0xa5, 0x41, 0x04,
0xcf, 0x30, 0x54, 0xf3, 0x4c, 0x52, 0xb7, 0xe5, 0x58, 0xc6 } },
{"2.16.840.1.114404.1.1.2.4.1", NULL},
- }
+ },
+
+ // Testing CA - for unittesting only. Not a real CA.
+ { { { 0xf1, 0xad, 0xf6, 0xce, 0x42, 0xac, 0xe7, 0xb4, 0xf4, 0x24,
+ 0xdb, 0x1a, 0xf7, 0xa0, 0x9f, 0x09, 0xa1, 0xea, 0xf1, 0x5c } },
+ {"1.3.6.1.4.1.11129.2.4.1"},
+ },
};
#if defined(OS_WIN)
@@ -295,6 +301,7 @@ const EVRootCAMetadata::PolicyOID EVRootCAMetadata::policy_oids_[] = {
// The OIDs must be sorted in ascending order.
"1.2.392.200091.100.721.1",
"1.2.616.1.113527.2.5.1.1",
+ "1.3.6.1.4.1.11129.2.4.1", // for unittests only. Not a real CA.
"1.3.6.1.4.1.14370.1.6",
"1.3.6.1.4.1.14777.6.1.1",
"1.3.6.1.4.1.14777.6.1.2",
« no previous file with comments | « no previous file | net/data/ssl/certificates/README » ('j') | net/test/test_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698