| Index: net/base/x509_util_openssl_unittest.cc
|
| diff --git a/net/base/x509_util_openssl_unittest.cc b/net/base/x509_util_openssl_unittest.cc
|
| index 23c33a36cc7702339ba519e62f14e7a294337262..5d96dfadb08c54b42518b36cdf18aaa67e111a64 100644
|
| --- a/net/base/x509_util_openssl_unittest.cc
|
| +++ b/net/base/x509_util_openssl_unittest.cc
|
| @@ -15,13 +15,16 @@ namespace net {
|
| // is present.
|
| TEST(X509UtilOpenSSLTest, CreateOriginBoundCertNotImplemented) {
|
| std::string origin = "http://weborigin.com:443";
|
| + base::Time now = base::Time::Now();
|
| scoped_ptr<crypto::RSAPrivateKey> private_key(
|
| crypto::RSAPrivateKey::Create(1024));
|
| std::string der_cert;
|
| - EXPECT_FALSE(x509_util::CreateOriginBoundCertRSA(private_key.get(),
|
| - origin, 1,
|
| - base::TimeDelta::FromDays(1),
|
| - &der_cert));
|
| + EXPECT_FALSE(x509_util::CreateOriginBoundCertRSA(
|
| + private_key.get(),
|
| + origin, 1,
|
| + now,
|
| + now + base::TimeDelta::FromDays(1),
|
| + &der_cert));
|
| EXPECT_TRUE(der_cert.empty());
|
|
|
| }
|
|
|