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 599d0e4e278709fc5252d341b24f8dd9f9e3564c..20675057ecf0bee17f5cd1402e794cd39f76af41 100644 |
--- a/net/base/x509_util_openssl_unittest.cc |
+++ b/net/base/x509_util_openssl_unittest.cc |
@@ -10,18 +10,18 @@ |
namespace net { |
-// For OpenSSL, x509_util::CreateOriginBoundCertEC() is not yet implemented |
+// For OpenSSL, x509_util::CreateDomainBoundCertEC() is not yet implemented |
// and should return false. This unit test ensures that a stub implementation |
// is present. |
-TEST(X509UtilOpenSSLTest, CreateOriginBoundCertNotImplemented) { |
- std::string origin = "http://weborigin.com:443"; |
+TEST(X509UtilOpenSSLTest, CreateDomainBoundCertNotImplemented) { |
+ std::string domain = "weborigin.com"; |
base::Time now = base::Time::Now(); |
scoped_ptr<crypto::ECPrivateKey> private_key( |
crypto::ECPrivateKey::Create()); |
std::string der_cert; |
- EXPECT_FALSE(x509_util::CreateOriginBoundCertEC( |
+ EXPECT_FALSE(x509_util::CreateDomainBoundCertEC( |
private_key.get(), |
- origin, 1, |
+ domain, 1, |
now, |
now + base::TimeDelta::FromDays(1), |
&der_cert)); |