diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-12 18:17:52 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-12 18:17:52 +0000 |
commit | d344a107c64835954d494f2e4477c7326c31abd8 (patch) | |
tree | f6bfe46e1880355df86fe2dd916c625590d5b276 /net/base | |
parent | b4fa72938a67658d3cd2f94d65a6f37e3858c612 (diff) | |
download | chromium_src-d344a107c64835954d494f2e4477c7326c31abd8.zip chromium_src-d344a107c64835954d494f2e4477c7326c31abd8.tar.gz chromium_src-d344a107c64835954d494f2e4477c7326c31abd8.tar.bz2 |
Use DCHECK instead of CHECK to assert that policy_oids_ is
in ascending order.
R=rvargas
BUG=41267
TEST=none
Review URL: http://codereview.chromium.org/4871001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/ev_root_ca_metadata.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/ev_root_ca_metadata.cc b/net/base/ev_root_ca_metadata.cc index 7de971b..661b652 100644 --- a/net/base/ev_root_ca_metadata.cc +++ b/net/base/ev_root_ca_metadata.cc @@ -358,7 +358,7 @@ EVRootCAMetadata::EVRootCAMetadata() { num_policy_oids_ = arraysize(policy_oids_); // Verify policy_oids_ is in ascending order. for (int i = 0; i < num_policy_oids_ - 1; i++) - CHECK(strcmp(policy_oids_[i], policy_oids_[i + 1]) < 0); + DCHECK(strcmp(policy_oids_[i], policy_oids_[i + 1]) < 0); for (size_t i = 0; i < arraysize(ev_root_ca_metadata); i++) { const EVMetadata& metadata = ev_root_ca_metadata[i]; |