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

Unified Diff: net/cert/x509_util_openssl_unittest.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/cert/x509_util_openssl_unittest.cc
diff --git a/net/cert/x509_util_openssl_unittest.cc b/net/cert/x509_util_openssl_unittest.cc
index c99f811705dbd373e1b7163c1aae4b4f80e9d769..2932f749d8a39ca4d85582934638016d586314de 100644
--- a/net/cert/x509_util_openssl_unittest.cc
+++ b/net/cert/x509_util_openssl_unittest.cc
@@ -99,10 +99,12 @@ TEST(X509UtilOpenSSLTest, IsSupportedValidityRange) {
// When computing too_old / too_late, add one day to account for
// possible leap seconds.
- base::Time too_old = base::Time::UnixEpoch() -
+ base::Time too_old =
+ base::Time::UnixEpoch() -
base::TimeDelta::FromDays(kDaysFromYear0001ToUnixEpoch + 1);
- base::Time too_late = base::Time::UnixEpoch() +
+ base::Time too_late =
+ base::Time::UnixEpoch() +
base::TimeDelta::FromDays(kDaysFromUnixEpochToYear10000 + 1);
EXPECT_FALSE(x509_util::IsSupportedValidityRange(too_old, too_old));
@@ -117,8 +119,7 @@ TEST(X509UtilOpenSSLTest, CreateDomainBoundCertEC) {
std::string domain = "weborigin.com";
base::Time now = base::Time::Now();
- scoped_ptr<crypto::ECPrivateKey> private_key(
- crypto::ECPrivateKey::Create());
+ scoped_ptr<crypto::ECPrivateKey> private_key(crypto::ECPrivateKey::Create());
std::string der_cert;
ASSERT_TRUE(
x509_util::CreateDomainBoundCertEC(private_key.get(),

Powered by Google App Engine
This is Rietveld 408576698