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

Unified Diff: net/base/x509_certificate_mac.cc

Issue 8828010: mac: s/UINT32_MAX/kuint32max/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_certificate_mac.cc
diff --git a/net/base/x509_certificate_mac.cc b/net/base/x509_certificate_mac.cc
index 8cc33a6bb8d9b1a6d376e11369eab8bec73c0a66..0e653759e72d96aff9c0483cb2246d182ef708c6 100644
--- a/net/base/x509_certificate_mac.cc
+++ b/net/base/x509_certificate_mac.cc
@@ -722,9 +722,9 @@ X509Certificate* X509Certificate::CreateSelfSigned(
DCHECK(key);
DCHECK(!subject.empty());
- if (valid_duration.InSeconds() > UINT32_MAX) {
+ if (valid_duration.InSeconds() > kuint32max) {
LOG(ERROR) << "valid_duration too big" << valid_duration.InSeconds();
- valid_duration = base::TimeDelta::FromSeconds(UINT32_MAX);
+ valid_duration = base::TimeDelta::FromSeconds(kuint32max);
}
// There is a comment in
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698