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

Unified Diff: net/base/x509_util_openssl_unittest.cc

Issue 9617039: Change Origin bound certs -> Domain bound certs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename all the things Created 8 years, 9 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/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..93cfeed684b7178b57cf3e514822ac0d6beb676b 100644
--- a/net/base/x509_util_openssl_unittest.cc
+++ b/net/base/x509_util_openssl_unittest.cc
@@ -10,16 +10,16 @@
namespace net {
-// For OpenSSL, x509_util::CreateOriginBoundCertEC() is not yet implemented
+// For OpenSSL, x509_util::CreateServerBoundCertEC() is not yet implemented
// and should return false. This unit test ensures that a stub implementation
// is present.
-TEST(X509UtilOpenSSLTest, CreateOriginBoundCertNotImplemented) {
+TEST(X509UtilOpenSSLTest, CreateServerBoundCertNotImplemented) {
std::string origin = "http://weborigin.com:443";
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::CreateServerBoundCertEC(
private_key.get(),
origin, 1,
now,

Powered by Google App Engine
This is Rietveld 408576698